Skip to content

Commit

Permalink
Set -std flag to c++14 (xrootd#11)
Browse files Browse the repository at this point in the history
Change looks good to me.
  • Loading branch information
george-patargias authored and amadio committed May 17, 2023
1 parent c8d30cb commit 60177cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/XRootDOSDefs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set( LIBRARY_PATH_PREFIX "lib" )
# GCC
#-------------------------------------------------------------------------------
if( CMAKE_COMPILER_IS_GNUCXX )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" )
# gcc 4.1 is retarded
Expand Down

0 comments on commit 60177cb

Please sign in to comment.