compiling 1_33_1 with vc6 / sp6 fails with error C2258...
Hi, i try to compile boost_1_33_1 or boost_1_33_0 with Visual C++ 6 (SP 6) on Windows XP (SP 2) and also on Windows 2000 (SP 4). The libraries date_time, filesystem, iostreams, regex, signals, test, thread, wave seems to be compiled without errors. But then..... The compilation fails with a syntax-error (pure virtual method needs '=0'...). ... vc-C++ bin\boost\libs\program_options\build\libboost_program_options.lib\msvc\debug\runtime-link-static\cmdline.obj cmdline.cpp F: \boost_init\boost_1_33_1\boost/program_options/options_description.hpp(156) : error C2258: Ungueltige Syntax fr rein virtuelle Methode; '= 0' erforderlich F: \boost_init\boost_1_33_1\boost/program_options/options_description.hpp(156) : error C2252: 'm_default_line_length' : Nur Funktionen koennen rein virtuell deklariert werden F: \boost_init\boost_1_33_1\boost/program_options/options_description.hpp(159) : error C2065: 'm_default_line_length' : nichtdeklarierter Bezeichner ... Something i've forgotten to set/configure ? Any help would be apreciated. Ingo
The compilation fails with a syntax-error (pure virtual method needs
bin\boost\libs\program_options\build\libboost_program_options.lib\msvc\debug\runtime-link-static\cmdline.obj
cmdline.cpp
Any help would be apreciated.
You're using a very old and very broken compiler that's unsupported by that particular library. Sorry. John.
"John Maddock"
The compilation fails with a syntax-error (pure virtual method needs
bin\boost\libs\program_options\build\libboost_program_options.lib\msvc\debug\runtime-link-static\cmdline.obj
cmdline.cpp
Any help would be apreciated.
You're using a very old and very broken compiler that's unsupported by that particular library. Sorry.
And a much better replacement is available for free. See http://msdn.microsoft.com/vstudio/express/visualc/default.aspx Visual C++ 6.0 users need to migrate to VC++ 8.0. Now. Right away. Without delay. The sooner the better. No excuses. --Beman
participants (3)
-
Beman Dawes
-
Ingo Becker
-
John Maddock