This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,8 @@ add_compile_options(-Wno-self-assign)
241
241
add_compile_options (-Wno-bitfield-constant-conversion)
242
242
add_compile_options (-Wno-unused-value )
243
243
244
+ add_compile_options (-Wno-unknown-warning-option)
245
+
244
246
#These seem to indicate real issues
245
247
add_compile_options (-Wno-invalid-offsetof)
246
248
add_compile_options (-Wno-return-type )
Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ if(WIN32)
14
14
enable_language (ASM_MASM)
15
15
else (WIN32 )
16
16
enable_language (ASM)
17
- # This prevents inclusion of standard compiler headers
18
- add_compile_options (-nostdinc -nostdinc++)
17
+ # This prevents inclusion of standard C compiler headers
18
+ add_compile_options (-nostdinc)
19
+ # This prevents inclusion of standard C++ compiler headers
20
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdinc++" )
19
21
endif (WIN32 )
20
22
21
23
add_subdirectory (utilcode)
Original file line number Diff line number Diff line change @@ -4907,7 +4907,7 @@ ClrDataAccess::SetCodeNotifications(
4907
4907
/* [in, size_is(numTokens)] */ ULONG32 flags[],
4908
4908
/* [in] */ ULONG32 singleFlags)
4909
4909
{
4910
- HRESULT status;
4910
+ HRESULT status = E_UNEXPECTED ;
4911
4911
4912
4912
DAC_ENTER ();
4913
4913
Original file line number Diff line number Diff line change @@ -977,7 +977,7 @@ Exception *ExThrowWithInnerHelper(Exception *inner);
977
977
CAutoTryCleanup<STATETYPE> __autoCleanupTry (__state); \
978
978
/* prevent annotations from being dropped by optimizations in debug */ \
979
979
INDEBUG (static bool __alwayszero;) \
980
- INDEBUG (if (! VolatileLoad (&__alwayszero))) \
980
+ INDEBUG (VolatileLoad (&__alwayszero);) \
981
981
{ \
982
982
/* this is necessary for Rotor exception handling to work */ \
983
983
DEBUG_ASSURE_NO_RETURN_BEGIN (EX_TRY) \
Original file line number Diff line number Diff line change @@ -10,5 +10,7 @@ add_definitions(-DPIC=1)
10
10
add_definitions (-DBIT64=1)
11
11
add_definitions (-D_WIN64=1)
12
12
13
+ add_compile_options (-Wno-empty-body)
14
+
13
15
add_subdirectory (palsuite)
14
16
You can’t perform that action at this time.
0 commit comments