Skip to content
Snippets Groups Projects
Commit f51b9745 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

fixed regex wrap for gcc 4.8

parent b09aaf8b
Branches
Tags
No related merge requests found
......@@ -599,7 +599,7 @@ else ()
endif ()
if (( WALBERLA_CXX_COMPILER_IS_IBM ) OR
( WALBERLA_CXX_COMPILER_IS_GNU AND CMAKE_CXX_COMPILER_VERSION EQUAL 4.7 ) OR
( WALBERLA_CXX_COMPILER_IS_GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9 ) OR
( WALBERLA_CXX_COMPILER_IS_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.5 ) )
list ( APPEND waLBerla_REQUIRED_BOOST_COMPONENTS regex)
endif()
......
......@@ -26,7 +26,7 @@
#include <boost/regex.hpp>
#elif ( defined WALBERLA_CXX_COMPILER_IS_CLANG ) && ( ( __clang_major__ == 3 ) && ( __clang_minor__ <= 4 ) )
#include <boost/regex.hpp>
#elif ( defined WALBERLA_CXX_COMPILER_IS_GNU ) && ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ <= 7 ) )
#elif ( defined WALBERLA_CXX_COMPILER_IS_GNU ) && ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ <= 8 ) )
#include <boost/regex.hpp>
#else
#include <regex>
......@@ -47,7 +47,7 @@ using boost::regex_match;
using boost::regex_error;
using boost::regex_search;
using boost::regex_replace;
#elif ( defined WALBERLA_CXX_COMPILER_IS_GNU ) && ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ <= 7 ) )
#elif ( defined WALBERLA_CXX_COMPILER_IS_GNU ) && ( ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ <= 8 ) )
using boost::regex;
using boost::regex_match;
using boost::regex_error;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment