[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uint64_t fails with C++
From: |
Werner LEMBERG |
Subject: |
Re: uint64_t fails with C++ |
Date: |
Wed, 07 Dec 2011 20:04:35 +0100 (CET) |
> It's nothing to do with autoconf really, configure correctly finds
> uint64_t, your C program then checks for UINT64_MAX or a uint64_t
> macro instead of #include <config.h> and checking for HAVE_UINT64_T.
HAVE_UINT64_T is *not* defined in my <config.h>...
> C++ compilers do not get these definition from stdint.h unless
> __STDC_LIMIT_MACROS is defined, the macros are in C99 and later, but
> were not in the C++ standard of the day (I don't know if they're in
> later C++ standards), so aren't defined for C++ compilers by
> default.
I still don't understand the details of the autoconf problem (and I
still think that something is fishy), but defining this macro works
just fine :-)
Thanks for your assistance!
Werner
- uint64_t fails with C++, Werner LEMBERG, 2011/12/07
- Re: uint64_t fails with C++, Peter O'Gorman, 2011/12/07
- Re: uint64_t fails with C++, Werner LEMBERG, 2011/12/07
- Re: uint64_t fails with C++, Peter O'Gorman, 2011/12/07
- Re: uint64_t fails with C++,
Werner LEMBERG <=
- Re: uint64_t fails with C++, Bob Friesenhahn, 2011/12/07
- Re: uint64_t fails with C++, Werner LEMBERG, 2011/12/07
- Re: uint64_t fails with C++, Peter Rosin, 2011/12/07
- Re: uint64_t fails with C++, Werner LEMBERG, 2011/12/07
- Re: uint64_t fails with C++, Mike Frysinger, 2011/12/07
- Re: uint64_t fails with C++, Nick Bowler, 2011/12/07
- Re: uint64_t fails with C++, Mike Frysinger, 2011/12/07
- Re: uint64_t fails with C++, Nick Bowler, 2011/12/07
- Re: uint64_t fails with C++, Paul Eggert, 2011/12/07
- Re: uint64_t fails with C++, Bob Friesenhahn, 2011/12/07