Reuben Thomas <rrt <at> sc3d.org> writes:

> When building with -ansi -pedantic, I get warnings like this:
> 
> In file included from printf-args.c:30:
> printf-args.h:105: warning: ISO C90 does not support 'long long'

The goal for gnulib is not necessarily strict C89 compliance, but rather using 
C89 plus any extensions available that make life easier.  In this case, the 
compiler supports 'long long' as an extension, or we would not have defined 
HAVE_LONG_LONG_INT.  Are you sure your addition of -ansi -pedantic is happening 
before the autocong probe prior to HAVE_LONG_LONG_INT?

But it _does_ seem reasonable that we should mark up our headers with 
__extension__ to make gcc shut up about places where we knowingly use non-C89 
constructs.  So feel free to continue to report these issues, and/or patches.

-- 
Eric Blake





Reply via email to