1
# -*- buffer-read-only: t -*- vi: set ro:
2
# DO NOT EDIT! GENERATED AUTOMATICALLY!
3
# manywarnings.m4 serial 1
4
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
5
dnl This file is free software; the Free Software Foundation
6
dnl gives unlimited permission to copy and/or distribute it,
7
dnl with or without modifications, as long as this notice is preserved.
9
dnl From Simon Josefsson
11
# gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR)
12
# --------------------------------------------------
13
# Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR.
14
# Elements separated by whitespace. In set logic terms, the function
15
# does OUTVAR = LISTVAR \ REMOVEVAR.
16
AC_DEFUN([gl_MANYWARN_COMPLEMENT],
26
gl_warn_set="$gl_warn_set $gl_warn_item"
33
# gl_MANYWARN_ALL_GCC(VARIABLE)
34
# -----------------------------
35
# Add all documented GCC (currently as per version 4.4) warning
36
# parameters to variable VARIABLE. Note that you need to test them
37
# using gl_WARN_ADD if you want to make sure your gcc understands it.
38
AC_DEFUN([gl_MANYWARN_ALL_GCC],
41
for gl_manywarn_item in \
48
-Wmissing-include-dirs \
58
-Wtraditional-conversion \
59
-Wdeclaration-after-statement \
62
-Wunsafe-loop-optimizations \
74
-Wold-style-definition \
75
-Wmissing-prototypes \
76
-Wmissing-declarations \
78
-Wmissing-format-attribute \
88
-Wvolatile-register-var \
89
-Wdisabled-optimization \
91
-Woverlength-strings \
92
-Wbuiltin-macro-redefined \
94
-Wpacked-bitfield-compat \
97
gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
99
# The following are not documented in the manual but are included in
100
# output from gcc --help=warnings.
101
for gl_manywarn_item in \
103
-Wcoverage-mismatch \
107
gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"