summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/gss_libinit.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-08-22 15:56:32 +0000
committerKen Raeburn <raeburn@mit.edu>2008-08-22 15:56:32 +0000
commita601b792b81eda6a9d3e4158e147a2e9524c13c7 (patch)
tree8b877862aa505d607ccdc1894a5a744ff0438258 /src/lib/gssapi/gss_libinit.c
parent0348462f117ae43bdb958483e2f6c8a908fcc310 (diff)
downloadkrb5-a601b792b81eda6a9d3e4158e147a2e9524c13c7.tar.gz
krb5-a601b792b81eda6a9d3e4158e147a2e9524c13c7.tar.xz
krb5-a601b792b81eda6a9d3e4158e147a2e9524c13c7.zip
New macro for testing whether the compiler supports a given
command-line flag or not, and adding it to CFLAGS only if supported. Use it for GCC flag -Wno-format-zero-length, which we were testing for before, and for some additional flags: -Woverflow -Wstrict-overflow -Wmissing-format-attribute -Werror=declaration-after-statement -Wdeclaration-after-statement -Werror=variadic-macros -Wvariadic-macros. (The last few are because we've had some code contributions that assumed full C99 support, and our baseline is currently C89+, so if possible we want certain newer constructs flagged as errors.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20685 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/gssapi/gss_libinit.c')
0 files changed, 0 insertions, 0 deletions