mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 02:41:33 +00:00
Do not suppress fixed MyGUI warnings
This commit is contained in:
parent
befa3f587f
commit
1b1c786d0c
1 changed files with 6 additions and 1 deletions
|
@ -608,7 +608,6 @@ if (WIN32)
|
||||||
5204 # Class has virtual functions, but its trivial destructor is not virtual
|
5204 # Class has virtual functions, but its trivial destructor is not virtual
|
||||||
|
|
||||||
# caused by MyGUI
|
# caused by MyGUI
|
||||||
4275 # non dll-interface class 'std::exception' used as base for dll-interface class 'MyGUI::Exception'
|
|
||||||
4297 # function assumed not to throw an exception but does
|
4297 # function assumed not to throw an exception but does
|
||||||
|
|
||||||
# OpenMW specific warnings
|
# OpenMW specific warnings
|
||||||
|
@ -644,6 +643,12 @@ if (WIN32)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if( "${MyGUI_VERSION}" VERSION_LESS_EQUAL "3.4.1" )
|
||||||
|
set(WARNINGS_DISABLE ${WARNINGS_DISABLE}
|
||||||
|
4275 # non dll-interface class 'MyGUI::delegates::IDelegateUnlink' used as base for dll-interface class 'MyGUI::Widget'
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(d ${WARNINGS_DISABLE})
|
foreach(d ${WARNINGS_DISABLE})
|
||||||
set(WARNINGS "${WARNINGS} /wd${d}")
|
set(WARNINGS "${WARNINGS} /wd${d}")
|
||||||
endforeach(d)
|
endforeach(d)
|
||||||
|
|
Loading…
Reference in a new issue