|
From: | Paul Eggert |
Subject: | Re: uint64_t fails with C++ (again) |
Date: | Thu, 06 Feb 2014 23:14:36 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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." #endifIf 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?
[Prev in Thread] | Current Thread | [Next in Thread] |