From aab0322580c87864a4f0c0af1fed07282c8dccbb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 30 Dec 2017 17:50:49 +0100 Subject: Disable loplugin:casttovoid when --disable-assert-always-abort ...as finding uses of variables in arguments to expand-to-nothing assert macros is just not implemented not implemented. Change-Id: Iacb3bd25d03eca13ac8ff3942f98e46dee3286b9 Reviewed-on: https://gerrit.libreoffice.org/47200 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/test/casttovoid.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'compilerplugins/clang/test/casttovoid.cxx') diff --git a/compilerplugins/clang/test/casttovoid.cxx b/compilerplugins/clang/test/casttovoid.cxx index edd538690224..e82118259df9 100644 --- a/compilerplugins/clang/test/casttovoid.cxx +++ b/compilerplugins/clang/test/casttovoid.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#undef NDEBUG #include #define CAST_N3 (void) n3 -- cgit