64 bit C question
    Bruce Labitt 
    bruce.labitt at myfairpoint.net
       
    Tue Feb 17 21:48:54 EST 2009
    
    
  
Kevin D. Clark wrote:
> 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
>   
OK, mea culpa...  Will add to build file in the morning. 
Back to the gnucash channel.  (We use gnucash at home.)
-Bruce
    
    
More information about the gnhlug-discuss
mailing list