Boost logo

Boost-Commit :

From: hljin_at_[hidden]
Date: 2007-09-19 14:41:49


Author: hljin
Date: 2007-09-19 14:41:47 EDT (Wed, 19 Sep 2007)
New Revision: 39392
URL: http://svn.boost.org/trac/boost/changeset/39392

Log:
GIL: fixed the C4503 warnings under VC
Text files modified:
   trunk/libs/gil/test/image.cpp | 8 +-------
   1 files changed, 1 insertions(+), 7 deletions(-)

Modified: trunk/libs/gil/test/image.cpp
==============================================================================
--- trunk/libs/gil/test/image.cpp (original)
+++ trunk/libs/gil/test/image.cpp 2007-09-19 14:41:47 EDT (Wed, 19 Sep 2007)
@@ -11,8 +11,7 @@
 //
 
 #ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4244) // conversion from 'gil::image<V,Alloc>::coord_t' to 'int', possible loss of data (visual studio compiler doesn't realize that the two types are the same)
+//#pragma warning(disable : 4244) // conversion from 'gil::image<V,Alloc>::coord_t' to 'int', possible loss of data (visual studio compiler doesn't realize that the two types are the same)
 #pragma warning(disable : 4503) // decorated name length exceeded, name was truncated
 #endif
 
@@ -559,11 +558,6 @@
     static_checks();
 }
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
-
-
 
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk