Eric Blake wrote:
> I fixed the typo (CHECK only takes a single token argument):

Shame on me.

> > + CHECK (int64_t)
> 
> I didn't touch this, but should we still want to cater to C89 platforms
> that lack 64 bit integers

Right you are. Yes, you cannot generally assume the presence of working
int64_t and uint^4_t types. We had trouble on this topic with Solaris cc,
in October 2007.

Bruno


2009-06-07  Bruno Haible  <[email protected]>

        * tests/test-alignof.c: Don't test int64_t if it does not exist.
        Reported by Eric Blake.

*** tests/test-alignof.c.orig   2009-06-07 11:54:52.000000000 +0200
--- tests/test-alignof.c        2009-06-07 11:44:17.000000000 +0200
***************
*** 44,50 ****
--- 44,52 ----
  CHECK (float)
  CHECK (double)
  CHECK (longdouble)
+ #ifdef INT64_MAX
  CHECK (int64_t)
+ #endif
  CHECK (struct1)
  CHECK (struct2)
  CHECK (struct3)


Reply via email to