Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit d0109ee

Browse files
author
Sergey Andreenko
authored
Fix comment placement. (#22580)
1 parent 78cbd96 commit d0109ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configurecompiler.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,15 +439,15 @@ if (CLR_CMAKE_PLATFORM_UNIX)
439439
endif(CLR_CMAKE_PLATFORM_DARWIN)
440440

441441
add_definitions(-DDISABLE_CONTRACTS)
442-
# The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop
443-
# after hitting just about 20 errors.
444442

445443
if (CLR_CMAKE_WARNINGS_ARE_ERRORS)
446444
# All warnings that are not explicitly disabled are reported as errors
447445
add_compile_options(-Werror)
448446
endif(CLR_CMAKE_WARNINGS_ARE_ERRORS)
449447

450448
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
449+
# The -ferror-limit is helpful during the porting, it makes sure the compiler doesn't stop
450+
# after hitting just about 20 errors.
451451
add_compile_options(-ferror-limit=4096)
452452

453453
# Disabled warnings

0 commit comments

Comments
 (0)