Re: uint64_t fails with C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 7 Dec 2011, Werner LEMBERG wrote:

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 :-)

Clearly, depending on an implementation-dependent macro is not suitable for portable software.

Bob
--
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux