Boost logo

Boost :

Subject: [boost] Boost compilation warnings and errors with XLC 10.1 on AIX 5.3
From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2008-12-04 20:49:42


Hi,

When compiling Boost with XLC 10.1 on AIX 5.3, I have the following
errors and warnings:

Errors:

[Math]

"libs/math/build/../src/tr1/acosh.cpp", line 11.39: 1540-0403 (S)
"acosh(double)" is already defined.
"/usr/vacpp/include/math.h", line 843.23: 1540-0425 (I) "acosh" is
defined on line 843 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 112.28: 1540-0424 (I) "acosh" is declared
on line 112 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 138.21: 1540-0424 (I) "acosh" is
declared on line 138 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 755.21: 1540-0424 (I) "acosh" is declared on
line 755 of "/usr/include/math.h".

"libs/math/build/../src/tr1/asinh.cpp", line 11.39: 1540-0403 (S)
"asinh(double)" is already defined.
"/usr/vacpp/include/math.h", line 855.23: 1540-0425 (I) "asinh" is
defined on line 855 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 116.28: 1540-0424 (I) "asinh" is declared
on line 116 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 142.21: 1540-0424 (I) "asinh" is
declared on line 142 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 756.21: 1540-0424 (I) "asinh" is declared on
line 756 of "/usr/include/math.h".

"libs/math/build/../src/tr1/atanh.cpp", line 11.39: 1540-0403 (S)
"atanh(double)" is already defined.
"/usr/vacpp/include/math.h", line 867.23: 1540-0425 (I) "atanh" is
defined on line 867 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 120.28: 1540-0424 (I) "atanh" is declared
on line 120 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 146.21: 1540-0424 (I) "atanh" is
declared on line 146 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 757.21: 1540-0424 (I) "atanh" is declared on
line 757 of "/usr/include/math.h".

"libs/math/build/../src/tr1/cbrt.cpp", line 11.39: 1540-0403 (S)
"cbrt(double)" is already defined.
"/usr/vacpp/include/math.h", line 879.23: 1540-0425 (I) "cbrt" is
defined on line 879 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 124.28: 1540-0424 (I) "cbrt" is declared on
line 124 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 150.21: 1540-0424 (I) "cbrt" is
declared on line 150 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 758.21: 1540-0424 (I) "cbrt" is declared on
line 758 of "/usr/include/math.h".

"libs/math/build/../src/tr1/copysign.cpp", line 13.39: 1540-0403 (S)
"copysign(double, double)" is already defined.
"/usr/vacpp/include/math.h", line 891.23: 1540-0425 (I) "copysign" is
defined on line 891 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 128.28: 1540-0424 (I) "copysign" is
declared on line 128 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 154.21: 1540-0424 (I) "copysign" is
declared on line 154 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 293.16: 1540-0424 (I) "copysign" is declared
on line 293 of "/usr/include/math.h".

"libs/math/build/../src/tr1/erfc.cpp", line 11.39: 1540-0403 (S)
"erfc(double)" is already defined.
"/usr/vacpp/include/math.h", line 915.23: 1540-0425 (I) "erfc" is
defined on line 915 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 136.28: 1540-0424 (I) "erfc" is declared on
line 136 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 162.21: 1540-0424 (I) "erfc" is
declared on line 162 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 738.21: 1540-0424 (I) "erfc" is declared on
line 738 of "/usr/include/math.h".

"libs/math/build/../src/tr1/erf.cpp", line 11.39: 1540-0403 (S)
"erf(double)" is already defined.
"/usr/vacpp/include/math.h", line 903.23: 1540-0425 (I) "erf" is defined
on line 903 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 132.28: 1540-0424 (I) "erf" is declared on
line 132 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 158.21: 1540-0424 (I) "erf" is
declared on line 158 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 737.21: 1540-0424 (I) "erf" is declared on
line 737 of "/usr/include/math.h".

"libs/math/build/../src/tr1/acoshl.cpp", line 11.44: 1540-0403 (S)
"acoshl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 846.28: 1540-0425 (I) "acoshl" is
defined on line 846 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 114.33: 1540-0424 (I) "acoshl" is declared
on line 114 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 140.21: 1540-0424 (I) "acoshl" is
declared on line 140 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 317.21: 1540-0424 (I) "acoshl" is declared
on line 317 of "/usr/include/math.h".

"libs/math/build/../src/tr1/asinhl.cpp", line 11.44: 1540-0403 (S)
"asinhl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 858.28: 1540-0425 (I) "asinhl" is
defined on line 858 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 118.33: 1540-0424 (I) "asinhl" is declared
on line 118 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 144.21: 1540-0424 (I) "asinhl" is
declared on line 144 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 321.21: 1540-0424 (I) "asinhl" is declared
on line 321 of "/usr/include/math.h".

"libs/math/build/../src/tr1/atanhl.cpp", line 11.44: 1540-0403 (S)
"atanhl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 870.28: 1540-0425 (I) "atanhl" is
defined on line 870 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 122.33: 1540-0424 (I) "atanhl" is declared
on line 122 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 148.21: 1540-0424 (I) "atanhl" is
declared on line 148 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 327.21: 1540-0424 (I) "atanhl" is declared
on line 327 of "/usr/include/math.h".

"libs/math/build/../src/tr1/cbrtl.cpp", line 11.44: 1540-0403 (S)
"cbrtl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 882.28: 1540-0425 (I) "cbrtl" is
defined on line 882 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 126.33: 1540-0424 (I) "cbrtl" is declared
on line 126 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 152.21: 1540-0424 (I) "cbrtl" is
declared on line 152 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 330.21: 1540-0424 (I) "cbrtl" is declared on
line 330 of "/usr/include/math.h".

"libs/math/build/../src/tr1/copysignl.cpp", line 11.44: 1540-0403 (S)
"copysignl(long double, long double)" is already defined.
"/usr/vacpp/include/math.h", line 894.28: 1540-0425 (I) "copysignl" is
defined on line 894 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 130.33: 1540-0424 (I) "copysignl" is
declared on line 130 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 156.21: 1540-0424 (I) "copysignl" is
declared on line 156 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 334.21: 1540-0424 (I) "copysignl" is
declared on line 334 of "/usr/include/math.h".

"libs/math/build/../src/tr1/erfcl.cpp", line 11.44: 1540-0403 (S)
"erfcl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 918.28: 1540-0425 (I) "erfcl" is
defined on line 918 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 138.33: 1540-0424 (I) "erfcl" is declared
on line 138 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 164.21: 1540-0424 (I) "erfcl" is
declared on line 164 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 340.21: 1540-0424 (I) "erfcl" is declared on
line 340 of "/usr/include/math.h".

"libs/math/build/../src/tr1/erfl.cpp", line 11.44: 1540-0403 (S)
"erfl(long double)" is already defined.
"/usr/vacpp/include/math.h", line 906.28: 1540-0425 (I) "erfl" is
defined on line 906 of "/usr/vacpp/include/math.h".
"./boost/math/tr1.hpp", line 134.33: 1540-0424 (I) "erfl" is declared on
line 134 of "./boost/math/tr1.hpp".
"/usr/vacpp/include/math.h", line 160.21: 1540-0424 (I) "erfl" is
declared on line 160 of "/usr/vacpp/include/math.h".
"/usr/include/math.h", line 342.21: 1540-0424 (I) "erfl" is declared on
line 342 of "/usr/include/math.h".

[Spirit]

"./boost/graph/detail/read_graphviz_spirit.hpp", line 165.28: 1540-0600
(S) The reference to "var" is ambiguous.
"./boost/spirit/home/classic/phoenix/primitives.hpp", line 221.1:
1540-0425 (I) "phoenix::var" is defined on line 221 of
"./boost/spirit/home/classic/phoenix/primitives.hpp".
"./boost/spirit/home/classic/phoenix/primitives.hpp", line 237.1:
1540-0424 (I) "phoenix::var" is declared on line 237 of
"./boost/spirit/home/classic/phoenix/primitives.hpp".
"/usr/include/sys/var.h", line 59.8: 1540-0425 (I) "var" is defined on
line 59 of "/usr/include/sys/var.h".
"./boost/graph/detail/read_graphviz_spirit.hpp", line 142.5: 1540-0700
(I) The previous message was produced while processing
"boost::detail::graph::dot_grammar::definition<boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,boost::spirit::multi_pass_policies::std_deque>,boost::spirit::scanner_policies<boost::spirit::skip_parser_iteration_policy<boost::detai...".
"./boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", line
178.24: 1540-0700 (I) The previous message was produced while processing
"boost::spirit::impl::grammar_helper<boost::spirit::grammar<boost::detail::graph::dot_grammar,boost::spirit::parser_context<boost::spirit::nil_t>
>,boost::detail::graph::dot_grammar,boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,...".
"./boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", line
251.29: 1540-0700 (I) The previous message was produced while processing
"boost::spirit::impl::get_definition<boost::detail::graph::dot_grammar,boost::spirit::parser_context<boost::spirit::nil_t>,boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,boost::spirit::multi_pass_policies::std_deque>,boost::spiri...".
"./boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", line
296.29: 1540-0700 (I) The previous message was produced while processing
"boost::spirit::impl::grammar_parser_parse<0,boost::detail::graph::dot_grammar,boost::spirit::parser_context<boost::spirit::nil_t>,boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,boost::spirit::multi_pass_policies::std_deque>,boos...".
"./boost/spirit/home/classic/core/non_terminal/grammar.hpp", line 57.14:
1540-0700 (I) The previous message was produced while processing
"boost::spirit::grammar<boost::detail::graph::dot_grammar,boost::spirit::parser_context<boost::spirit::nil_t>
>::parse_main<boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,boost::spirit::multi_pass_policies::std_deque>,boost::spir...".
"./boost/spirit/home/classic/core/non_terminal/grammar.hpp", line 65.9:
1540-0700 (I) The previous message was produced while processing
"boost::spirit::grammar<boost::detail::graph::dot_grammar,boost::spirit::parser_context<boost::spirit::nil_t>
>::parse<boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<char,char,std::char_traits<char>,long>,boost::spirit::multi_pass_policies::input_iterator,boost::spirit::multi_pass_policies::ref_counted,boost::spirit::multi_pass_policies::buf_id_check,boost::spirit::multi_pass_policies::std_deque>,boost::spirit::s...".
"libs/graph/src/read_graphviz_spirit.cpp", line 33.6: 1540-0700 (I) The
previous message was produced while processing
"boost::detail::graph::read_graphviz(std::istream &, mutate_graph &)".

Warnings:

"libs/regex/src/../src/regex_traits_defaults.cpp", line 350.56:
1540-0804 (W) The characters "/*" are detected in a comment.
"libs/regex/src/../src/regex_traits_defaults.cpp", line 545.47:
1540-0804 (W) The characters "/*" are detected in a comment.

"./boost/thread/pthread/mutex.hpp", line 30.9: 1540-0198 (W) The omitted
keyword "private" is assumed for base class "boost::noncopyable".
"./boost/thread/pthread/mutex.hpp", line 78.9: 1540-0198 (W) The omitted
keyword "private" is assumed for base class "boost::noncopyable".


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