On 9/5/05, Gottenbos, Hennie
Hi All,
I am having problems using the [program_options] library from Boost 1.33. Using this simple program:
#include
int main(int argc, char* argv[]) { return 0; }
I get compile errors like:
options_description.hpp(156) : error C2258: illegal pure syntax, must be '= 0' options_description.hpp(156) : error C2252: 'm_default_line_length' : pure specifier can only be specified for functions options_description.hpp(159) : error C2065: 'm_default_line_length' : undeclared identifier
This is the first time I'm using Boost. I have successfully developed a program that uses boost::filesystem but I have funny feeling this is a compiler limitation which means I can not use [program_options] on VC6.
Can anyone confirm this so I can forget about program_options?
Thanks! Hennie.
Looking at the appropriate regression test page (http://engineering.meta-comm.com/boost-regression/1_33_0/user/program_option...) seems to imply VC6 & progam_options don't mix well... My usual advise is to upgrade to VC7.1 if at all possible - it makes Boost use a much more pleasant experience.... Stuart Dootson