Boost logo

Boost :

From: Thomas Matelich (sosedada_at_[hidden])
Date: 2001-04-24 13:09:20


I've finally figured out why I've been having such extensive problems
with LONG_LONG_MAX etc. limits_test was failing checking if
ULONG_LONG_MAX == yada yada and now I'm getting
Error 216: "../boost/integer_traits.hpp", line 136 # Integer constant
expected in enumerator initialization.
        public detail::integer_traits_base<long long,LONG_LONG_MIN,
LONG_LONG_MAX>

from the LONG_LONG_*'s.

It (I think) is because of how RogueWave (provider of the standard
library for HP) defined it:
# define LONG_LONG_MIN \
          (((_RWSTD_LONG_LONG)1) << (sizeof (_RWSTD_LONG_LONG) *
CHAR_BIT - 1))
# define LONG_LONG_MAX (~LONG_LONG_MIN)
# define ULONG_LONG_MAX (~(unsigned _RWSTD_LONG_LONG)0)

So does anyone have any suggestions?

--
Thomas O Matelich
Senior Software Designer
Zetec, Inc.
sosedada_at_[hidden]
tmatelich_at_[hidden]

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