Boost logo

Boost :

From: Davlet Panech (davlet_panech_at_[hidden])
Date: 2003-02-19 18:51:42


Hello,

I'm getting the following warning in gcc 3.2/CYGWIN/boost 1.29:

% /cygdrive/c/boost/boost_1_29_0/boost/cast.hpp:178: warning: decimal
constant is so large that it is unsigned

173: static long long min()
174: {
175: #ifdef LONGLONG_MIN
176: return LONGLONG_MIN;
177: #else
178: return -9223372036854775808LL; // hope this is portable
179: #endif
180: }

This happens while compiling this piece of code:

  boost::uint16_t x;
  ...
  boost::numeric_cast< int > ( x )

Is that a problem?

D.P.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


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