mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 01:40:20 +01:00
gcc-4.4 and later accept every -Wno option. So we can test for the option without no in the name to check if the option is supported. Each time a warning is emitted and without this fix, on gcc-4.4 that will add this warning: cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable" bugs.freedesktop.org #51633, rediffed after 1.12.4 Of course this assumes that all compilers will behave like gcc, which is reasonably implicit in the set of warning flags. Signed-off-by: Gilles Espinasse <g.esp@free.fr> [ickle: slight modification to test both -W and -Wno variants to ideally preserve compatability with non-GCC compilers sharing GCC options!] |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| aclocal.cairo.m4 | ||
| aclocal.compare.m4 | ||
| aclocal.enable.m4 | ||
| aclocal.float.m4 | ||
| aclocal.gtk-doc.m4 | ||
| aclocal.makefile.m4 | ||
| aclocal.pkg.m4 | ||
| configure.ac.analysis | ||
| configure.ac.features | ||
| configure.ac.noversion | ||
| configure.ac.pthread | ||
| configure.ac.system | ||
| configure.ac.tools | ||
| configure.ac.version | ||
| configure.ac.warnings | ||
| Makefile.am.analysis | ||
| Makefile.am.changelog | ||
| Makefile.am.common | ||
| Makefile.am.gtk-doc | ||
| Makefile.am.releasing | ||
| Makefile.win32.common | ||
| Makefile.win32.features | ||
| Makefile.win32.features-h | ||
| Makefile.win32.inform | ||