Re: uint64_t fails with C++ (again)

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

 



Werner LEMBERG wrote:
neither `UINT64_MAX' nor `uint64_t' gets define

That's odd, because UINT64_MAX is defined for me, even for this much-simpler program:

#include <stdint.h>
#ifdef UINT64_MAX
typedef uint64_t TA_ULongLong;
#else
# error "No unsigned 64bit wide data type found."
#endif

If I put this into a file "t.cc", the command "g++ -c t.cc" works just fine. I'm using Fedora 20, which has g++ (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7).

Maybe you didn't define HAVE_STDINT_H?

_______________________________________________
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