Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit551eca7

Browse files
committed
enforce C++14 for iterator default nullptr initialization
1 parent39e68c2 commit551eca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
7171
elseif (${CMAKE_CXX_COMPILER_ID}MATCHES Clang)
7272
if (${CMAKE_SYSTEM_NAME}MATCHES"Darwin")
7373
# We want to link in C++11 mode if we're using Clang and on OS X.
74-
set (CMAKE_CXX_FLAGS"${CMAKE_CXX_FLAGS} -Wall -ftemplate-depth=256 -std=c++11 -stdlib=libc++")
74+
set (CMAKE_CXX_FLAGS"${CMAKE_CXX_FLAGS} -Wall -ftemplate-depth=256 -std=c++14 -stdlib=libc++")
7575
else()
7676
# We just add the -Wall and a high enough template depth
7777
# flag for Clang in other systems.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp