summaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2018-07-27Disable -Wcast-function-type warningDaniel P. Berrangé1-0/+2
Most glib function casts trigger this Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2016-02-24m4: Use -Wdeprecated-declarationsFabiano Fidêncio1-1/+1
Let's enable deprecated-declarations warnings as we want to: 1) Avoid insert/maintain deprecated widgets/methods 2) Avoid adding widgets/methods that are too new, what could cause problems like virt-viewer not being able to build in a specific distro. Patches for making these two items possible are coming, introducing _VERSION_MAX_ALLOWED for both GLIB and GDK and removing (as much as possible) deprecated widgets/methods/structures. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
2013-02-13Turn off deprecation warningsDaniel P. Berrange1-1/+1
GLib deprecated the GValueArray type without providing an ABI compatible replacement. Thus we need to disable dreprecation warnings ../../src/virt-viewer-auth.c: In function 'virt_viewer_auth_vnc_credentials': ../../src/virt-viewer-auth.c:112:9: error: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Werror=deprecated-declarations]
2013-02-04Don't redefine _FORTIFY_SOURCE macroMichal Privoznik1-1/+1
If the _FORTIFY_SOURCE has been already defined, we unconditionally redefine it, leaving us with warning/error thrown at compilation time.
2012-07-03build: allow building with newer glibc-headers and -O0Marc-André Lureau1-1/+8
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.
2008-03-05Kill automake portability warnings. Use a config.h Cleanup misc build ↵Daniel P. Berrange1-1/+2
issues. Build with fatal compile warnings
2007-07-20Initial commitDaniel P. Berrange1-0/+88