Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2007-02-28 16:44:27

Ralf W. Grosse-Kunstleve wrote:
> The EDG-based Tru64 cxx compilers (both versions 6.5 and 7.1)
> produce this new warning (Boost CVS HEAD as of last night):
> cxx -o boost_adaptbx/rational_ext.o -c -std strict_ansi -msg_display_number -msg_disable 186,450,1115,1133 -tlocal -DBOOST_DISABLE_THREADS -DNDEBUG -O2 -fast -DBOOST_ALL_NO_LIB -DBOOST_PYTHON_MAX_BASES=2 -I/net/redbelly/scratch1/rwgk/auto_build/sources/boost -Ibase/include/python2.5 -I/net/redbelly/scratch1/rwgk/auto_build/sources/base/include/python2.5 /net/redbelly/scratch1/rwgk/auto_build/sources/boost_adaptbx/rational_ext.cpp
> cxx: Warning: sources/boost/boost/lexical_cast.hpp, line 508: #191-D
> type qualifier is meaningless on cast type
> int const digit = static_cast<int const>(n % 10);
> ----------------------------------------------^
Hartmut Kaiser changed this line to get rid of a warning on some other

revision 1.34
date: 2007/02/26 17:27:26; author: hkaiser; state: Exp; lines: +1 -1
Fixed a warning, when lexical cast is used to convert a
boost::ulong_long_type to a string.

> Is the compiler correct? Could the "const" be removed?
I've just commited the fix.

Alexander Nasonov
You must do the thing you think you cannot do. -- Eleanor Roosevelt
This quote is generated by: 
	/usr/pkg/bin/curl -L         \
	  | sed -e 's/^document\.write(.//' -e 's/.);$/ --/'  \
	        -e 's/<[^>]*>//g' -e 's/^More quotes from //' \
	  | fmt | tee ~/.signature-quote

Boost list run by bdawes at, gregod at, cpdaniel at, john at