Boost logo

Boost Users :

From: Aaron W. LaFramboise (aaronrabiddog51_at_[hidden])
Date: 2004-07-26 14:14:42


John Maddock wrote:
> Sorry but I pretty certain we can't do that: code that uses long long does
> so where we want to overload or specialise on a specific *type*.
> boost::int64_t is a different beast entirely, and need not be long long (in
> fact it isn't always), your patches would break Boost quite badly for
> compilers where long long != int64_t.

OK. So how can these instances of long long usage be made to not break
GCC when -std=c++98 is specified? Perhaps a macro could be defined by
boost.config BOOST_LONG_LONG_DECORATOR with a value of __extension__ for
GCC that would be used to decorate these uses of long long to prevent
problems?

Aaron W. LaFramboise


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net