mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-04 12:40:58 -06:00
#4448 Move Resinsight from -std=c++0x to -std=c++11 on GNU CXX
This commit is contained in:
parent
6839e82613
commit
6ba9d42b45
@ -24,7 +24,7 @@ elseif(MSVC)
|
||||
endif()
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set(CMAKE_CXX_FLAGS "-DCVF_LINUX -pipe -Wextra -Woverloaded-virtual -Wformat -std=c++0x")
|
||||
set(CMAKE_CXX_FLAGS "-DCVF_LINUX -pipe -Wextra -Woverloaded-virtual -Wformat -std=c++11")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -g3 -O0 -DDEBUG -D_DEBUG")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNO_DEBUG")
|
||||
endif()
|
||||
|
@ -362,7 +362,8 @@ Color3ub::Color3ub(ColorIdent colorIdent)
|
||||
case YELLOW_GREEN: set(154, 205, 50); break;
|
||||
case CEETRON: set( 81, 134, 148); break;
|
||||
|
||||
default: CVF_FAIL_MSG("Unknown ColorIdent");
|
||||
default: set(0, 0, 0);
|
||||
CVF_FAIL_MSG("Unknown ColorIdent");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user