
Ok, but when I have tried a free version of Visual studio 2008 (because the 6.0 version was not compatible with Vista) I realized that the program I developed with it did not work under XP!!! That is why I continue with Visual studio 6.0 with which I can develop programs that work on all Windows systems. Anyway, even I am not familiar with the use of namespace, I think it is a standard C++ feature so why should this be dependent on the compiler version? Le 27/09/2010 00:38, OvermindDL1 a écrit :
On Sun, Sep 26, 2010 at 11:43 AM, Olivier Bertrand
wrote: Using this tutorial I tried to build the first sample with Windows Visual C++ 6.0.
All seems correct in the settings, but the compilation failed with the following messages:
--------------------Configuration: Sample - Win32 Debug-------------------- Compiling... Lambda.cpp c:\boost_1_44\boost\config\suffix.hpp(588) : error C2039: 'typeinfo' : is not a member of '`global namespace'' c:\boost_1_44\boost\config\suffix.hpp(588) : error C2873: 'typeinfo' : symbol cannot be used in a using-declaration c:\boost_1_44\boost\mpl\aux_\yes_no.hpp(56) : fatal error C1506: unrecoverable block scoping error Error executing cl.exe.
Sample.exe - 3 error(s), 0 warning(s)
The second sample gave me similar errors.
I need help to be able to use the Boost libs... visual C++ 6.0 is inching toward 13 years old, there is not much nowadays that supports it, and I know many Boost sublibraries do not (although some still do), however, MPL I doubt is one that does due to its heavy template usage and VS6's lack of proper template support (although it 'might', anyone want to chime in?). You might try going back to an older Boost version, maybe 1.33 or so, when VC6 was still somewhat used.
Personally, I would highly recommend at least downloading the free Visual Studio 2010 (or 2008) Express version to get upgraded to something more modern. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users