Compiler errors using boost/program_options with Boost v 1.47

Dear all, I use boost/program_options in one of my programs (I compile under Linux with gcc 4.4.3). With Boost 1.46 everything worked fine, but now I installed Boost 1.47 and I get a bunch of error messages: btw, include/Config.hh:28 is simply: Sorry for the plain question, but: Could you help me to fix this? Am I missing something in my installation? Has boost/program_options not be correctly updated to 1.47? Many thanks for your help... -- View this message in context: http://boost.2283326.n4.nabble.com/Compiler-errors-using-boost-program-optio... Sent from the Boost - Users mailing list archive at Nabble.com.

On Sep 7, 2011, at 3:10 AM, "Jakob S."
Dear all,
I use boost/program_options in one of my programs (I compile under Linux with gcc 4.4.3). With Boost 1.46 everything worked fine, but now I installed Boost 1.47 and I get a bunch of error messages:
btw, include/Config.hh:28 is simply:
Sorry for the plain question, but: Could you help me to fix this? Am I missing something in my installation? Has boost/program_options not be correctly updated to 1.47?
Many thanks for your help...
Your message seems to have lost its code/error content. Please try sending as plain text, if your mail client allows it. Cheers Gordon

2011/9/7 Gordon Woodhull
Your message seems to have lost its code/error content. Please try sending as plain text, if your mail client allows it.
Cheers Gordon
Oh my gosh...
Thanks for the hint!
Here is my message again in plain text:
Dear all,
I use boost/program_options in one of my programs (I compile under
Linux with gcc 4.4.3). With Boost 1.46 everything worked fine, but now
I installed Boost 1.47 and I get a bunch of error messages:
In file included from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:34,
from /usr/include/boost/mpl/times.hpp:19,
from /usr/include/boost/mpl/multiplies.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:90: error:
boost/mpl/aux_/preprocessed/gcc/ostimes.hpp: Datei oder Verzeichnis
nicht gefunden
Compiling geantphantom.cc ...
In file included from /usr/include/boost/mpl/aux_/arithmetic_op.hpp:34,
from /usr/include/boost/mpl/times.hpp:19,
from /usr/include/boost/mpl/multiplies.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/aux_/include_preprocessed.hpp:37:90: error:
boost/mpl/aux_/preprocessed/gcc/ostimes.hpp: Datei oder Verzeichnis
nicht gefunden
In file included from
/usr/include/boost/numeric/conversion/detail/is_subranged.hpp:17,
from
/usr/include/boost/numeric/conversion/detail/conversion_traits.hpp:21,
from
/usr/include/boost/numeric/conversion/conversion_traits.hpp:13,
from /usr/include/boost/numeric/conversion/converter.hpp:13,
from /usr/include/boost/numeric/conversion/cast.hpp:32,
from /usr/include/boost/lexical_cast.hpp:31,
from /usr/include/boost/program_options/value_semantic.hpp:14,
from
/usr/include/boost/program_options/options_description.hpp:13,
from /usr/include/boost/program_options.hpp:15,
from include/Config.hh:28,
from main.cc:24:
/usr/include/boost/mpl/multiplies.hpp:38: error: expected
template-name before ‘<’ token
/usr/include/boost/mpl/multiplies.hpp:38: error: expected ‘{’ before ‘<’ token
/usr/include/boost/mpl/multiplies.hpp:38: error: expected
unqualified-id before ‘<’ token
btw, include/Config.hh:28 is simply:
#include
participants (3)
-
Gordon Woodhull
-
Jakob S.
-
Jakob Schluttig