[program_options] VC6 compile error 'illegal pure syntax, must be "=0"'
Hi All,
I am having problems using the [program_options] library from Boost
1.33. Using this simple program:
#include
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
On 9/5/05, Stuart Dootson
My usual advise is to upgrade to VC7.1 if at all possible - it makes Boost use a much more pleasant experience....
I would even say that: it makes C++ use a much more pleasant experience either. compared to VC6.
Stuart Dootson
-- Felipe Magno de Almeida Developer from synergy and Computer Science student from State University of Campinas(UNICAMP). Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br "There is no dark side of the moon really. Matter of fact it's all dark."
participants (3)
-
Felipe Magno de Almeida
-
Gottenbos, Hennie
-
Stuart Dootson