mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 15:55:04 -10:00
Fix comment placement. (dotnet/coreclr#22580)
Commit migrated from https://github.com/dotnet/coreclr/commit/d0109ee909f8dde3c5dd24b81d34922323369f6d
This commit is contained in:
1 parent
8d11103bb6
commit
374881aa5f
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user