From: mahesh karanth (tumkurkaranth_at_[hidden])
Date: 2006-04-28 05:25:03
I removed all using statements in my workspace and updated the corresponding references.
Everthing went without any problems but at the end I got 2 errors
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1087) : error C2143: syntax error : missing ';' before 'constant'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1087) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
do you have any idea about this?
I am using VC 6.
Before when I was using using namespace's was not getting such error.
John Maddock <john_at_[hidden]> wrote: mahesh karanth wrote:
> When I compile 'URLHandler' and 'CacheStore' independently both will
> compile without any errors.
> But when integrated with main() gives the compilation errors.
Unfortunately there is no easy way around these errors as they're due to a
compiler bug. As has already been suggested you need to ensure there are no
"using namespace std;" statements floating around. Failing that it is
possible to hack the regex headers: replacing collate with collate_ or
something, but that's a rather error prone process.
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk