Skip to content
Snippets Groups Projects
Commit 3baabe06 authored by Julien Malik's avatar Julien Malik
Browse files

WRG: fix for _XOPEN_SOURCE warning generated by Python.h

parent f49409df
No related branches found
No related tags found
No related merge requests found
#
# Note that the ITK/CMakeLists.txt file configures this file
# Note that the OTB/CMakeLists.txt file configures this file
#
# CMake/CTestCustom.cmake.in
#
# to this file
#
# ${ITK_BINARY_DIR}/CTestCustom.cmake
# ${OTB_BINARY_DIR}/CTestCustom.cmake
#
#----------------------------------------------------------------------
#
......@@ -53,7 +53,6 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"Fl_Image.H:.*warning:.*dereferencing type-punned pointer will break strict-aliasing rules.*"
"warning -.: directory name .* does not exist"
"ld.*warning.*duplicate dylib.*"
".*pyconfig.h:.*warning:.*XOPEN.*SOURCE.*redefined.*"
"WARNING non-zero return value in ctest"
".*Microsoft.*include.*.h.*[Ww]arning.*"
".*gdal_priv.h.*[Ww]arning.*"
......
......@@ -21,6 +21,9 @@
// The python header defines _POSIX_C_SOURCE without a preceding #undef
#undef _POSIX_C_SOURCE
// The python header defines _XOPEN_SOURCE without a preceding #undef
#undef _XOPEN_SOURCE
#include <Python.h>
namespace itk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment