26 Jul
2004
26 Jul
'04
7:14 p.m.
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