Address MSVC2013 specific warnings
This commit is contained in:
		| @@ -158,11 +158,14 @@ else() | ||||
| endif() | ||||
|  | ||||
| if(MSVC) | ||||
|   add_definitions(/W4 /w14545 /w34062 /w34242 /w34254 /w34287 /w44263 /w44265 /w44296 /w44311 /w44826 /we4289 /w14546 /w14547 /w14549 /w14555 /w14619 /w14905 /w14906 /w14928) | ||||
|   add_definitions(/W4 /w14545 /w34242 /w34254 /w34287 /w44263 /w44265 /w44296 /w44311 /w44826 /we4289 /w14546 /w14547 /w14549 /w14555 /w14619 /w14905 /w14906 /w14928) | ||||
|  | ||||
|   # VS2013 doesn't have magic statics | ||||
|   if (MSVC_VERSION STREQUAL "1800") | ||||
|     # VS2013 doesn't have magic statics | ||||
|     add_definitions(/w44640) | ||||
|   else() | ||||
|     # enum warnings are too noisy on MSVC2013 | ||||
|     add_definitions(/w34062) | ||||
|   endif() | ||||
|  | ||||
|   add_definitions(/bigobj) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jason Turner
					Jason Turner