[Botan-devel] Build error on MacOS X

Matt Johnston matt at ucc.asn.au
Mon May 23 14:24:32 EDT 2005


On Mon, May 23, 2005 at 12:10:28PM -0600, Jack Lloyd wrote:
> On Tue, May 24, 2005 at 01:34:59AM +0800, Matt Johnston wrote:
> > I came across this on x86-64 Linux (gcc 3.3.4), util.cpp and
> > primes.cpp also need the same treatment.
> 
> This seems odd - were you compiling 64 or 32-bit code? In 64 bit mode there
> *certainly* should not have been any diagnostic, because a long is 64 bits and
> GCC only complains if an integer constant doesn't fit into a long (which a 64
> bit constant doesn't on most 32-bit systems). With 32-bit code, there would be
> the same problem as on other 32-bit machines, however.

My apologies, I think it actually was just a 32-bit Linux
box. x86 Debian with gcc-3.3.5 requires ULL etc, but x86-64 with
3.3.5 compiles fine.

Matt




More information about the botan-devel mailing list