Skip to content

Commit

Permalink
Merge pull request #1705 from bstaletic/no-bidi-chars
Browse files Browse the repository at this point in the history
Suppress -Wbidi-chars on newer GCC's
  • Loading branch information
mergify[bot] authored Aug 24, 2023
2 parents 7d5ef4c + e025ead commit 95fec77
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpp/ycm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,12 @@ endif()

#############################################################################

if ( CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 12 )
target_compile_options( ${PROJECT_NAME} PRIVATE "-Wno-bidi-chars" )
endif()

#############################################################################

if( SYSTEM_IS_SUNOS )
# SunOS needs this setting for thread support
target_compile_options( ${PROJECT_NAME} PUBLIC "-pthreads" )
Expand Down

0 comments on commit 95fec77

Please sign in to comment.