64 bit C question

Kevin D. Clark kevin_d_clark at comcast.net
Tue Feb 17 18:13:53 EST 2009


bruce.labitt writes:

> Is there some way to to compile a C or C++ program that will output a 
> 64bit hex value correctly?  This is what I have so far...

[...]

> g++ -m64 -D_FILE_OFFSET_BITS=64 -I/usr/local/include -L/usr/local/lib 
> -omytestfile mytestfile.cpp


I highly suggest that you follow the advice which I already gave you
here:

http://www.mail-archive.com/gnhlug-discuss@mail.gnhlug.org/msg24747.html

...which was to compile with: -Werror -Wall -Wcast-qual.

I am being deadly serious here.


Kind regards,

--kevin
-- 
GnuPG ID: B280F24E                Meet me by the knuckles
alumni.unh.edu!kdc                of the skinny-bone tree.
http://kdc-blog.blogspot.com/     -- Tom Waits


More information about the gnhlug-discuss mailing list