Re: [dev] [sbase] [patch] Add sha256sum(1)

From: Galos, David <galosd83_AT_students.rowan.edu>
Date: Sun, 21 Jul 2013 09:10:31 -0400

>> Question, what are we to do with sha512sum? It requires some
>> constants to be long long and we are compiling with C89/C90.
>>
>> Any ideas?
> So far, the solution to this has been to use int64_t in stdint.h
> Although that header is only guaranteed in c99, the header tends
> to be available in c89 mode, and the compiler does not warn
> about it.

Actually, you said constants. I think the real solution to this problem
is to add '-Wno-long-long' to CFLAGS. Writing 64bit emulation code
would be idiotic, and if the underlying compiler doesn't have 64 bit
support, it's not like anything short of such emulation would help
anyway.
Received on Sun Jul 21 2013 - 15:10:31 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 21 2013 - 15:12:06 CEST