summaryrefslogtreecommitdiffstats
path: root/m4/compiler.m4
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: avoid icc warnings "ignoring unknown option"Ruediger Meier2015-01-201-0/+7
| | | | | | | | | | | | Our macro UL_WARN_ADD could not discover these ones: icc: command line warning #10006: ignoring unknown option '-Wmissing-parameter-type' icc: command line warning #10006: ignoring unknown option '-Wredundant-decls' icc: command line warning #10006: ignoring unknown option '-Wunused-result' icc: command line warning #10006: ignoring unknown option '-Wnested-externs' We need to use AC_LANG_WERROR. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: use -Wno-clobbered for some BSD crapKarel Zak2013-05-071-3/+4
| | | | | | | | * extend UL_WARN_ADD() for accept non-default CFLAGS variable * add BSD_WARN_CFLAGS with -Wno-clobbered * use all this for pg(1) and more(1) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add -Werror to UL_WARN_ADD testKarel Zak2012-07-161-55/+4Star
| | | | | | | | ... so revert previous patches with extra options for clang. Sometimes is simple solution so obvious that it's invisible :-) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add exclude list to UL_ADD_WARNKarel Zak2012-07-161-20/+41
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add UL_PROG_CLANG function, rename warnings.m4 -> compiler.m4Karel Zak2012-07-161-0/+62
Signed-off-by: Karel Zak <kzak@redhat.com>