apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Alex.Krumm-Hel...@csiro.au>
Subject RE: using APR on fedora core 3
Date Wed, 04 Jan 2006 00:28:31 GMT
Thanks, that's done the trick!


-----Original Message-----
From: rooneg@gmail.com [mailto:rooneg@gmail.com] On Behalf Of Garrett
Rooney
Sent: Wednesday, 4 January 2006 11:17 AM
To: Krumm-Heller, Alex (ICT Centre, Marsfield)
Cc: dev@apr.apache.org
Subject: Re: using APR on fedora core 3

The problem is that iostream (well, something that iostream includes
probably) pulls in stdint.h, and since you included iostream before
you included any apr headers, the code in apr.h that defines
__STDC_CONSTANT_MACROS doesn't get a chance to take effect, so
stdint.h never defines INT64_C, which APR needs.  You can avoid the
problem by moving the apr header includes before the iostream header
include, or by adding -D__STDC_CONSTANT_MACROS to your compile
command.

-garrett

Mime
View raw message