Re: Squid 3 build error using Visual Studio

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Mon, 13 Aug 2007 10:43:16 -0600

On Sat, 2007-08-11 at 23:06 +0200, Serassio Guido wrote:
> Hi,
>
> Trying to build the current Squid 3 source using Visual Studio 2005
> on Windows, I get the following error.
> Any C++ suggestion ?
>
> Compiling...
> mem.cc
> c:\work\nt-3.0\src\StoreEntryStream.h(119) : error C2512:
> 'std::basic_ostream<_Elem,_Traits>' : no appropriate default
> constructor available
> with
> [
> _Elem=char,
> _Traits=std::char_traits<char>
> ]

This is with the code recently synced with HEAD, right?

Please try the attached untested patch. It follows the suggestions at
the page found by Amos:
http://www.codecomments.com/archive292-2005-2-396222.html

> Thanks for the link, but, I have really understand nothing .... :-(
> Really I hate C++ :-(

Is it a good idea to hate something you do not understand? :-)

Alex.

Received on Mon Aug 13 2007 - 10:43:41 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Aug 31 2007 - 12:00:05 MDT