mpl::print and the sun compiler

28 Apr
2009
28 Apr
'09
1:31 p.m.
The sun c++ compiler doesn't issue a warning about comparison between signed and unsigned integer expressions. The attached patch makes mpl::print produce "implicit int is not supported" warning. With the patch applied the compiler output looks like this: $ CC +w -c print.cpp "/home/dgoncharov/boost/trunk/boost/mpl/print.hpp", line 55: Warning: Implicit int is not supported in C++. "print.cpp", line 3: Where: While specializing "boost::mpl::print<int>". "print.cpp", line 3: Where: Specialized in non-template code. 1 Warning(s) detected. Br, Dmitry
5887
Age (days ago)
5887
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Goncharov