
6 Feb
2007
6 Feb
'07
12:35 p.m.
Magnus Therning escreveu:
When compiling that code with Visual Studio 8.0 I get warnings about
- 'boost::program_options::options_description' : assignment operator could not be generated
- 'boost::any::holder<ValueType>' : assignment operator could not be generated
The latter one seems to be the cause for a linking error:
- unresolved external symbol "class std::basic_string
boost::program_options::arg" g++ works just fine, no warnings, no link errors.
Any suggestions on how to solve this?
Could you post a build log somewhere? My bet is you're not linking properly to Boost.Program_Options. I see a lot of these warnings here with msvc-8.0 but my code links correctly. -- Pedro LamarĂ£o