Boost logo

Boost :

Subject: Re: [boost] [preprocessor] badly formed constant expression on Sun
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2012-04-05 03:19:52

On Tue, 03 Apr 2012 19:27:40 -0700, lcaminiti wrote:

> Is (BOOST_PP_VALUE) / 1000000000UL not a valid constant expression on
> Sun 64-bits machines?

32 vs. 64-bit shouldn't make a difference to the mechanism. I suppose it
might matter if something was less than 32-bit.

> I can't reproduce this error on my Sun C++ compiler installed on 32-bit
> Ubuntu Linux... so maybe this is about the actual Sun machine and not
> the Sun compiler... However, all Boost.Preprocessor tests pass on Sun...
> Any suggestion?
> Thanks a lot.
> --Lorenzo

I have no idea what the problem is (and I don't have access to the
compiler/architecture to figure it out). What's BOOST_PP_VALUE defined as?

Paul Mensonides

Boost list run by bdawes at, gregod at, cpdaniel at, john at