From c80a3088a0c16d4517fb3b30598c1c68a1004d0b Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 19 Apr 2018 18:25:38 +0100 Subject: [PATCH] #pragma detect_mismatch should be at global scope. [CI SKIP] --- test/boost_has_detect_mismatch.ipp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/boost_has_detect_mismatch.ipp b/test/boost_has_detect_mismatch.ipp index 3f29fcd3..6430dd46 100644 --- a/test/boost_has_detect_mismatch.ipp +++ b/test/boost_has_detect_mismatch.ipp @@ -14,9 +14,10 @@ namespace boost_has_pragma_detect_mismatch { +# pragma detect_mismatch("Boost_Config", "1") + int test() { -# pragma detect_mismatch("Boost_Config", "1") return 0; }