@ -594,6 +594,7 @@ if (WIN32)
4 7 0 6 # A s s i g n m e n t i n c o n d i t i o n a l e x p r e s s i o n
4 7 3 8 # S t o r i n g 3 2 - b i t f l o a t r e s u l t i n m e m o r y , p o s s i b l e l o s s o f p e r f o r m a n c e
4 9 8 6 # U n d o c u m e n t e d w a r n i n g t h a t o c c u r s i n t h e c r t d b g . h f i l e
4 9 8 7 # n o n s t a n d a r d e x t e n s i o n used ( triggered by setjmp.h )
4 9 9 6 # F u n c t i o n w a s d e c l a r e d d e p r e c a t e d
# c a u s e b y o g r e e x t e n s i v l y
@ -610,7 +611,9 @@ if (WIN32)
4 3 0 5 # T r u n c a t i n g value ( double to float, for example )
4 3 0 9 # V a r i a b l e o v e r f l o w , t r y i n g t o s t o r e 1 2 8 i n a s i g n e d c h a r f o r e x a m p l e
4 3 5 5 # U s i n g ' t h i s ' i n m e m b e r i n i t i a l i z a t i o n l i s t
4 5 0 5 # U n r e f e r e n c e d l o c a l f u n c t i o n h a s b e e n r e m o v e d
4 7 0 1 # P o t e n t i a l l y u n i n i t i a l i z e d l o c a l v a r i a b l e u s e d
4 7 0 2 # U n r e a c h a b l e c o d e
4 8 0 0 # B o o l e a n o p t i m i z a t i o n w a r n i n g , e . g . m y B o o l = ( m y I n t ! = 0 ) i n s t e a d o f m y B o o l = m y I n t
)
@ -618,19 +621,31 @@ if (WIN32)
set ( WARNINGS "${WARNINGS} /wd${d}" )
endforeach ( d )
set_target_properties ( shiny PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
set_target_properties ( shiny.OgrePlatform PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
# b o o s t : : w a v e h a s a f e w i s s u e s w i t h s i g n e d / u n s i g n e d c o n v e r s i o n s , s o w e s u p p r e s s t h o s e h e r e
set ( SHINY_WARNINGS "${WARNINGS} /wd4245" )
set_target_properties ( shiny PROPERTIES COMPILE_FLAGS ${ SHINY_WARNINGS } )
# t h e r e ' s a n u n r e f e r e n c e d l o c a l v a r i a b l e i n t h e o g r e p l a t f o r m , s u p p r e s s i t
set ( SHINY_OGRE_WARNINGS "${WARNINGS} /wd4101" )
set_target_properties ( shiny.OgrePlatform PROPERTIES COMPILE_FLAGS ${ SHINY_OGRE_WARNINGS } )
set_target_properties ( sdl4ogre PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
set_target_properties ( oics PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
set_target_properties ( components PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
if ( BUILD_LAUNCHER )
set_target_properties ( omwlauncher PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
endif ( BUILD_LAUNCHER )
set_target_properties ( openmw PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
if ( BUILD_BSATOOL )
if ( BUILD_BSATOOL )
set_target_properties ( bsatool PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
endif ( BUILD_BSATOOL )
endif ( BUILD_BSATOOL )
if ( BUILD_ESMTOOL )
set_target_properties ( esmtool PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
endif ( BUILD_ESMTOOL )
if ( BUILD_OPENCS )
set_target_properties ( opencs PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
endif ( BUILD_OPENCS )
if ( BUILD_MWINIIMPORTER )
set_target_properties ( mwiniimport PROPERTIES COMPILE_FLAGS ${ WARNINGS } )
endif ( BUILD_MWINIIMPORTER )
endif ( MSVC )
# S a m e f o r M i n G W