mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[CMAKE]
- Make C4113 (function pointer parameter lists differ) an error. CORE-7538 - Properly ignore "export of deleting destructor" warning in msvcrt svn path=/trunk/; revision=61029
This commit is contained in:
parent
11393e5451
commit
ec1b5455e9
2 changed files with 3 additions and 1 deletions
|
@ -44,11 +44,12 @@ add_compile_flags("/wd4290")
|
|||
# - TODO: C4090: different 'modifier' qualifiers (for C programs only;
|
||||
# for C++ programs, the compiler error C2440 is issued)
|
||||
# - C4098: void function returning a value
|
||||
# - C4113: parameter lists differ
|
||||
# - C4129: unrecognized escape sequence
|
||||
# - TODO: C4133: incompatible types
|
||||
# - C4229: modifiers on data are ignored
|
||||
# - C4700: uninitialized variable usage
|
||||
add_compile_flags("/we4022 /we4047 /we4098 /we4129 /we4229 /we4700")
|
||||
add_compile_flags("/we4022 /we4047 /we4098 /we4113 /we4129 /we4229 /we4700")
|
||||
|
||||
# Debugging
|
||||
#if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||
|
|
|
@ -26,6 +26,7 @@ target_link_libraries(msvcrt crt wine ${PSEH_LIB})
|
|||
if(MSVC)
|
||||
# export of deleting destructor "name"
|
||||
add_target_link_flags(msvcrt "/ignore:4102")
|
||||
add_target_link_flags(libmsvcrt "/ignore:4102")
|
||||
endif()
|
||||
|
||||
add_importlibs(msvcrt kernel32 ntdll)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue