Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-06-25 17:26:15


Jens Maurer wrote:

> I'm using gcc 2.95.3 on Linux to compile this program:
>
> #include <boost/cstdint.hpp>
>
> int main()
> {
> boost::int32_t x;
> boost::int64_t y;
> }
>
> Here are the results:
> no flags: int64_t undefined
> -D_GNU_SOURCE: works
> -ansi -D_GNU_SOURCE: works
> -pedantic: int64_t undefined
> -pedantic -D_GNU_SOURCE: "too many 'l's in integer constant"
> -pedantic -Wno-long-long -D_GNU_SOURCE: "too many ..."
>
> Can you reproduce these results?

        Yes.

>Could you try your original
> problem again without -pedantic?

        OK. But I really want as much pedantry as possible
to check that I'm really generating _conforming_ code,
as I claim: ie. I want to make sure everything will
work for other C++ compilers (which I can't test myself).

        ... (plays with the Felix build ..)..

        OK, this worked. Thanks.

BTW: checkout Felix!

-- 
John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix  http://felix.sourceforge.net
Literate Programming tool Interscript     
http://Interscript.sourceforge.net

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