Boost logo

Boost :

From: Phil Richards (news_at_[hidden])
Date: 2005-06-17 09:37:24


Test regex/grep is failing due to a compilation error with g++ 4.0:

../libs/regex/example/grep/grep.cpp: In function 'int main(int, const char**)':
../libs/regex/example/grep/grep.cpp:130: error: invalid conversion from 'const char**' to 'char**'
../libs/regex/example/grep/grep.cpp:130: error: initializing argument 2 of 'boost::program_options::basic_command_line_parser<charT>::basic_command_line_parser(int, charT**) [with charT = char]'

This is due to "main" being declared as:
int main(int argc, const char * argv[])
...

phil

-- 
change name before "@" to "phil" for email

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk