Changeset 4479497 for configure.ac


Ignore:
Timestamp:
Mar 24, 2011, 12:46:25 AM (13 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
42ee1be
Parents:
82b734a
git-author:
David Benjamin <davidben@MIT.EDU> (02/26/11 00:52:13)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/24/11 00:46:25)
Message:
Use G_GNUC_PRINTF to get type-checking on our format strings

The extra type-checking is nice.

[andersk@mit.edu: Move G_GNUC_PRINTF such that no further preprocessor
 magic is needed]
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r2cbe7c3 r4479497  
    131131AX_C_CHECK_FLAG([-Wstrict-prototypes],[],[],[AM_CFLAGS="$AM_CFLAGS -Wstrict-prototypes"])
    132132
     133dnl Shut gcc up about zero-length format strings; the warning's apparently for
     134dnl efficiency reasons, which is bogus for custom functions.
     135AX_C_CHECK_FLAG([-Wno-format-zero-length],[],[],[AM_CFLAGS="$AM_CFLAGS -Wno-format-zero-length"])
     136
    133137m4_foreach([myflag],
    134138  [[-Wno-pointer-sign],[-Wno-empty-body],[-Wno-unused-value]],
Note: See TracChangeset for help on using the changeset viewer.