Skip to content
Snippets Groups Projects
Commit 8ccf1740 authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Silence warning from Boost regarding non-standard fpos

A fix is upstream but not yet in a release
parent 4dab04e6
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,7 @@
#include "MantidGeometry/DllConfig.h"
#include "MantidKernel/Exception.h"
#if defined(_MSC_VER)
#define _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING
#endif
#include <boost/spirit/include/qi.hpp>
#if defined(_MSC_VER)
#undef _SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING
#endif
#include <functional>
#include <map>
......
......@@ -18,6 +18,7 @@ if(CXXTEST_FOUND)
../../TestHelpers/src/LoggingCleaner.cpp)
cxxtest_add_test(GeometryTest ${TEST_FILES} ${GMOCK_TEST_FILES})
target_compile_definitions(GeometryTest PRIVATE -D_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING)
target_link_libraries(GeometryTest
LINK_PRIVATE
${TCMALLOC_LIBRARIES_LINKTIME}
......
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