summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2010-07-16 17:16:19 +0100
committerDaniel P. Berrange <berrange@redhat.com>2011-04-05 11:39:58 +0100
commit329e9dc629658d7b8298b102e8d1486ff6b9221f (patch)
tree758b05e4b2ac74c997ab76c6bf53887f2e09536a /m4
parentEnable -Wmissing-format-attribute warning (diff)
downloadlibvirt-329e9dc629658d7b8298b102e8d1486ff6b9221f.tar.gz
libvirt-329e9dc629658d7b8298b102e8d1486ff6b9221f.tar.bz2
libvirt-329e9dc629658d7b8298b102e8d1486ff6b9221f.zip
Enable use of -Wmissing-noreturn
* src/internal.h: Define a ATTRIBUTE_NO_RETURN annotation * src/lxc/lxc_container.c: Annotate lxcContainerDummyChild with ATTRIBUTE_NO_RETURN * tests/eventtest.c: Mark async thread as ATTRIBUTE_NO_RETURN * m4/virt-compile-warnings.m4: Enable -Wmissing-noreturn
Diffstat (limited to 'm4')
-rw-r--r--m4/virt-compile-warnings.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
index 0431074cb..27413b09f 100644
--- a/m4/virt-compile-warnings.m4
+++ b/m4/virt-compile-warnings.m4
@@ -63,7 +63,6 @@ AC_DEFUN([LIBVIRT_COMPILE_WARNINGS],[
dontwarn="$dontwarn -Wconversion"
dontwarn="$dontwarn -Wsign-conversion"
dontwarn="$dontwarn -Wold-style-definition"
- dontwarn="$dontwarn -Wmissing-noreturn"
dontwarn="$dontwarn -Wpacked"
dontwarn="$dontwarn -Wunused-macros"
dontwarn="$dontwarn -Woverlength-strings"