Boost logo

Boost Users :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2007-02-06 07:35:31


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<char,struct
> std::char_traits<char>,class std::allocator<char> >
> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net