Name of strnstr.cc file

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Fri, 02 May 2008 12:48:57 +0200

Hi,

There is some special reason because strnstr() is included in a file
called strnstr.cc instead of strnstr.c like all other functions ?

On Windows, using Visual Studio, this could be a problem, because the
.cc extension could trigger a C++ build instead of a C build. On gcc
environments this is not a problem, but on Visual Studio, C++ objects
and C objects are not interchangeable at link time, because MS
compilers uses an heavy C++ function decoration.

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Fri May 02 2008 - 10:49:59 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:04 MDT