List Info

Thread: CW: execessive warnings




CW: execessive warnings
country flaguser name
United States
2007-10-15 21:57:27
I am getting tons of warnings like these from CW compilers.
How can I 
disable it in Jamfile?

cw.compile.c++ 
......bin.v2libstestexampleunit_test_example_01.test
cw-9.0debugthreading-multiunit_test_example_01.obj
### mwcc Compiler:
#      In: 
C:CompilersMetrowerksCodeWarriorMSLMSL_C++MSL_CommonI
ncludenumfacet
#    From: unit_test_example_01.cpp
# ---------------------------------
#    1544:   no_grouping;
# Warning:              ^
#   expression has no side effect
#    (point of instantiation: 
'boost::test_tools::tt_detail::print_log_value<int>::o
perator 
()(std::basic_ostream<char,
std::char_traits<char>> &, const int &)')
#     (instantiating: 'std::basic_ostream<char, 
std::char_traits<char>>::operator <<(int)')
#      (instantiating: 'std::numput<char,
std::ostreambuf_iterator<char, 
std::char_traits<char>>>(std::ostreambuf_iterato
r<char, 
std::char_traits<char>>, std::ios_base &, char,
unsigned long)')
#       (instantiating: 'std::__puthex<char,
std::ostreambuf_iterator<char, 
std::char_traits<char>>, unsigned
long>(std::ostreambuf_iterator<char, 
std::char_traits<char>>, std::ios_base &, char,
unsigned long, bool)')



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: CW: execessive warnings
country flaguser name
Russian Federation
2007-10-16 00:07:22
On Tuesday 16 October 2007 06:57:27 Gennadiy Rozental
wrote:
> I am getting tons of warnings like these from CW
compilers. How can I 
> disable it in Jamfile?

But passing whatever compiler specific flags there are for
CW, using:

	<toolset>cw:<cxxflags>whatever

in target's or project's requirements.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )