diff options
Diffstat (limited to 'configurecompiler.cmake')
-rw-r--r-- | configurecompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configurecompiler.cmake b/configurecompiler.cmake index d291595836..709994db1d 100644 --- a/configurecompiler.cmake +++ b/configurecompiler.cmake @@ -439,8 +439,6 @@ if (CLR_CMAKE_PLATFORM_UNIX) endif(CLR_CMAKE_PLATFORM_DARWIN) add_definitions(-DDISABLE_CONTRACTS) - # The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop - # after hitting just about 20 errors. if (CLR_CMAKE_WARNINGS_ARE_ERRORS) # All warnings that are not explicitly disabled are reported as errors @@ -448,6 +446,8 @@ if (CLR_CMAKE_PLATFORM_UNIX) endif(CLR_CMAKE_WARNINGS_ARE_ERRORS) if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + # The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop + # after hitting just about 20 errors. add_compile_options(-ferror-limit=4096) # Disabled warnings |