[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23450] trunk/blender/source/blender/ blenlib/BLI_winstuff.h: mingw - silencing the warnings about '#pragma' warnings being unrecognised or being ignored.

Joshua Leung aligorith at gmail.com
Thu Sep 24 13:46:17 CEST 2009


Revision: 23450
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23450
Author:   aligorith
Date:     2009-09-24 13:46:17 +0200 (Thu, 24 Sep 2009)

Log Message:
-----------
mingw - silencing the warnings about '#pragma' warnings being unrecognised or being ignored. This should still work fine for msvc, and other platforms though.

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_winstuff.h

Modified: trunk/blender/source/blender/blenlib/BLI_winstuff.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_winstuff.h	2009-09-24 11:37:33 UTC (rev 23449)
+++ trunk/blender/source/blender/blenlib/BLI_winstuff.h	2009-09-24 11:46:17 UTC (rev 23450)
@@ -28,7 +28,10 @@
  *
  * ***** END GPL LICENSE BLOCK *****
  */
+ 
+#ifndef FREE_WINDOWS
 #pragma warning(once: 4761 4305 4244 4018)
+#endif
 
 #define WIN32_LEAN_AND_MEAN
 





More information about the Bf-blender-cvs mailing list