Boost logo

Boost Users :

Subject: Re: [Boost-users] The "error C2668" on VC6
From: John Maddock (john_at_[hidden])
Date: 2008-12-12 04:39:16


wind world wrote:
>> Hi guys,
>> I'm trying to introduce the boost regex into my old VC6 project.
>> "using namespace std" is declearared in many files. When I include
>> "#include <boost/regex.hpp>", I receive the following error: error
>> C2668: 'memset' : ambiguous call to overloaded function.
>> When I remove "using namespace std" or add :: to memset(memset ->
>>>> memset), it can be ok. I want to ask wheather there is the third
>>>> way
>> to solve this problem.

Nope, unfortunately you've hit a VC6 compiler bug :-(

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net