$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [conversion] lexical_cast<> compilation with --pedantic-errors
From: Evgeny Tarasov (teval_at_[hidden])
Date: 2009-05-13 08:04:35
If to compile program with the key --pedantic-errors there exist some error messages.
Otherwise everything is ok.
#include <boost/lexical_cast.hpp> //line 38
In file included from /usr/local/include/boost-1_39/boost/detail/lcast_precision.hpp:16,
from /usr/local/include/boost-1_39/boost/lexical_cast.hpp:31,
from accepterimpl.cpp:38:
/usr/local/include/boost-1_39/boost/integer_traits.hpp:164:66: use of C99 long long integer constant
/usr/local/include/boost-1_39/boost/integer_traits.hpp:164:77: use of C99 long long integer constant
/usr/local/include/boost-1_39/boost/integer_traits.hpp:170:70: use of C99 long long integer constant
/usr/local/include/boost-1_39/boost/integer_traits.hpp:170:70: use of C99 long long integer constant
make[2]: *** [accepterimpl.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Are there any means to overcome it ?