Boost logo

Boost-Commit :

From: hljin_at_[hidden]
Date: 2007-09-19 14:45:32


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

Log:
GIL: commented out unnecessary pragma warning directives
Text files modified:
   trunk/boost/gil/algorithm.hpp | 14 +++++++-------
   trunk/boost/gil/channel_algorithm.hpp | 14 +++++++-------
   trunk/boost/gil/extension/dynamic_image/any_image.hpp | 14 +++++++-------
   trunk/boost/gil/image.hpp | 14 +++++++-------
   trunk/boost/gil/image_view.hpp | 14 +++++++-------
   5 files changed, 35 insertions(+), 35 deletions(-)

Modified: trunk/boost/gil/algorithm.hpp
==============================================================================
--- trunk/boost/gil/algorithm.hpp (original)
+++ trunk/boost/gil/algorithm.hpp 2007-09-19 14:45:30 EDT (Wed, 19 Sep 2007)
@@ -35,10 +35,10 @@
 ///
 ////////////////////////////////////////////////////////////////////////////////////////
 
-#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)
-#endif
+//#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)
+//#endif
 
 namespace boost { namespace gil {
 
@@ -1007,8 +1007,8 @@
 
 } } // namespace boost::gil
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(pop)
+//#endif
 
 #endif

Modified: trunk/boost/gil/channel_algorithm.hpp
==============================================================================
--- trunk/boost/gil/channel_algorithm.hpp (original)
+++ trunk/boost/gil/channel_algorithm.hpp 2007-09-19 14:45:30 EDT (Wed, 19 Sep 2007)
@@ -32,10 +32,10 @@
 
 namespace boost { namespace gil {
 
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable: 4309) // disable truncation of constant value warning (using -1 to get the max value of an integral)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(push)
+//#pragma warning(disable: 4309) // disable truncation of constant value warning (using -1 to get the max value of an integral)
+//#endif
 
 namespace detail {
 
@@ -460,9 +460,9 @@
     return channel_traits<Channel>::max_value()-x + channel_traits<Channel>::min_value();
 }
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(pop)
+//#endif
 
 } } // namespace boost::gil
 

Modified: trunk/boost/gil/extension/dynamic_image/any_image.hpp
==============================================================================
--- trunk/boost/gil/extension/dynamic_image/any_image.hpp (original)
+++ trunk/boost/gil/extension/dynamic_image/any_image.hpp 2007-09-19 14:45:30 EDT (Wed, 19 Sep 2007)
@@ -24,10 +24,10 @@
 #include "any_image_view.hpp"
 #include "../../image.hpp"
 
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4244) // conversion from 'std::ptrdiff_t' to 'int', possible loss of data. even if we static-assert the two types are the same (on visual studio 8)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(push)
+//#pragma warning(disable : 4244) // conversion from 'std::ptrdiff_t' to 'int', possible loss of data. even if we static-assert the two types are the same (on visual studio 8)
+//#endif
 
 namespace boost { namespace gil {
 
@@ -118,8 +118,8 @@
 
 } } // namespace boost::gil
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(pop)
+//#endif
 
 #endif

Modified: trunk/boost/gil/image.hpp
==============================================================================
--- trunk/boost/gil/image.hpp (original)
+++ trunk/boost/gil/image.hpp 2007-09-19 14:45:30 EDT (Wed, 19 Sep 2007)
@@ -30,10 +30,10 @@
 
 namespace boost { namespace gil {
 
-#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)
-#endif
+//#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)
+//#endif
 
 ////////////////////////////////////////////////////////////////////////////////////////
 /// \ingroup ImageModel PixelBasedModel
@@ -276,9 +276,9 @@
 template <typename Pixel, bool IsPlanar, typename Alloc>
 struct is_planar<image<Pixel,IsPlanar,Alloc> > : public mpl::bool_<IsPlanar> {};
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(pop)
+//#endif
 
 } } // namespace boost::gil
 

Modified: trunk/boost/gil/image_view.hpp
==============================================================================
--- trunk/boost/gil/image_view.hpp (original)
+++ trunk/boost/gil/image_view.hpp 2007-09-19 14:45:30 EDT (Wed, 19 Sep 2007)
@@ -26,10 +26,10 @@
 #include "gil_config.hpp"
 #include "iterator_from_2d.hpp"
 
-#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)
-#endif
+//#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)
+//#endif
 
 namespace boost { namespace gil {
 
@@ -216,8 +216,8 @@
 
 } } // namespace boost::gil
 
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
+//#ifdef _MSC_VER
+//#pragma warning(pop)
+//#endif
 
 #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