From b1653024d63cb8aeb7654c5be6190cb20854196f Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 20 Oct 2020 20:39:05 +0200 Subject: [PATCH] CMake: remove HAVE_VARIADIC_MACROS check --- build/cmake/setup.cmake | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 18556f077a..4360634ddd 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -132,13 +132,6 @@ if(NOT MSVC) endif() endif() -wx_check_c_source_compiles( - "#define test(fmt, ...) printf(fmt, __VA_ARGS__) - test(\"%s %d %p\", \"test\", 1, 0);" - HAVE_VARIADIC_MACROS - stdio.h - ) -#TODO: wxNO_VARIADIC_MACROS if(wxUSE_STL AND CMAKE_CXX_STANDARD EQUAL 98) wx_check_cxx_source_compiles(" std::vector moo;