src/Makefile.am: build {fmt} without `-Wmissing-noreturn`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 3 Apr 2024 13:50:23 +0000 (09:50 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 3 Apr 2024 17:00:58 +0000 (13:00 -0400)
Until <https://github.com/fmtlib/fmt/pull/3917> is merged and becomes
part of a release, let's just ignore missing `[[noreturn]]` warnings
when building {fmt}.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ia63f6248a59d8b42b35523e0a1972daa94f957bf
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12223
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
src/Makefile.am

index e267ac9be2df841c51e9f81853005bde27fe3243..4fbca7551d5eacf2c1a91c61f4ae0c411262ac5f 100644 (file)
@@ -202,6 +202,9 @@ cpp_common_vendor_fmt_libfmt_la_SOURCES = \
        cpp-common/vendor/fmt/std.h \
        cpp-common/vendor/fmt/xchar.h
 
+cpp_common_vendor_fmt_libfmt_la_CXXFLAGS = \
+       $(AM_CXXFLAGS) -Wno-missing-noreturn
+
 ctfser_libctfser_la_SOURCES = \
        ctfser/ctfser.c \
        ctfser/ctfser.h
This page took 0.024952 seconds and 4 git commands to generate.