Guido Serassio wrote:
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.

Okay. We can change it if its causing windows problems.

I knew that the automatically included files need to be .h and .c or they are not found by auto-conf. But this one was a manually-included hack file. So I didn't think it would matter, and figured we are trying to make Squid3 C++.

Amos
--
Please use Squid 2.6.STABLE20 or 3.0.STABLE5

Reply via email to