From 374881aa5fa327108239e055ee84445a9bd6dbd9 Mon Sep 17 00:00:00 2001 From: Sergey Andreenko Date: Wed, 13 Feb 2019 12:15:10 -0800 Subject: [PATCH] Fix comment placement. (dotnet/coreclr#22580) Commit migrated from https://github.com/dotnet/coreclr/commit/d0109ee909f8dde3c5dd24b81d34922323369f6d --- src/coreclr/configurecompiler.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/configurecompiler.cmake b/src/coreclr/configurecompiler.cmake index d291595..709994d 100644 --- a/src/coreclr/configurecompiler.cmake +++ b/src/coreclr/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 -- 2.7.4