summaryrefslogtreecommitdiffstats
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* m4: Update manywarnings from gnulibCole Robinson2014-10-101-76/+137
| | | | | | Fixes these noisy errors on Fedora 21: gcc: warning: switch '-Wmudflap' is no longer supported
* Use latest warnings.m4 from gnulibChristophe Fergeau2013-10-101-20/+62
| | | | | | The one we were using does not work properly with clang, causing the build process to try to use -f/-W options that are not supported by clang.
* Fix _FORTIFY_SOURCE redefine errorDunrong Huang2013-09-101-1/+1
| | | | | | | | | | | | If the _FORTIFY_SOURCE has been already defined, we shouldn't redefine it, or it will raise a build error as below: In file included from spice-audio.c:36:0: ../config.h:12:0: error: "_FORTIFY_SOURCE" redefined [-Werror] spice-audio.c:1:0: note: this is the location of the previous definition Suggested-by: Christophe Fergeau <cfergeau@redhat.com> Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
* build-sys: don't use -Wstrict-prototypes with Gtk+ 2.0Marc-André Lureau2013-02-061-9/+7
|
* build: allow building with newer glibc-headers and -O0Christophe Fergeau2012-06-071-2/+6
| | | | | | | | | | | | | Fix copied from libvirt, commit by Eric Blake. glibc 2.15 (on Fedora 17) coupled with explicit disabling of optimization during development dies a painful death: /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Work around this by only conditionally defining _FORTIFY_SOURCE, in the case where glibc can actually use it. The trick is using AH_VERBATIM instead of AC_DEFINE.
* buildsys: Disable some warningsHans de Goede2012-03-141-0/+4
| | | | | | | | | | | Mostly so that they don't turn into errors when building from source: -Wno-missing-field-initializers: Because this has to be close to the most stupid warning gcc has ever produced -Wno-deprecated-declarations Because we use some deprecated functions to avoid #ifdef hell while maintaining compat with older gtk / glib versions Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Disable -Wwrite-strings for Python bindingDaniel P. Berrange2012-03-141-0/+4
| | | | | | The code generator for the python binding generates code which throws away const-ness on strings. Disable the -Wwrite-strings warning to avoid failing on this auto-generated code.
* Import GNULIB's GCC warning macrosDaniel P. Berrange2012-03-133-0/+361
| | | | | | | | | | | | | | | GNULIB has a helpful module 'manywarnings' which makes it easy to turn on every single GCC warning. The general goal is that every possible GCC warning should be enabled, except for certain blacklisted warnings. This imports the GNULIB m4 macros, and updates configure.ac to use this new capability. As & when new GCC warnings are created, the 'manywarnings.m4' can be refreshed from upstream GNULIB * m4/manywarnings.m4, m4/warnings.m4: GNULIB warning macros * configure.ac: Remove custom compiler warning checks * m4/spice-compile-warnings.m4: Decide what GCC warnings to enable
* gtk: hide unwanted public symbolsMarc-André Lureau2010-12-061-0/+34
|
* Initial import from SPICEMarc-André Lureau2010-11-231-0/+46