Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2008-01-22 12:02:17


Author: pbristow
Date: 2008-01-22 12:02:17 EST (Tue, 22 Jan 2008)
New Revision: 42914
URL: http://svn.boost.org/trac/boost/changeset/42914

Log:
Updated for new g()
Text files modified:
   sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp | 9 +++++++++
   sandbox/SOC/2007/visualization/libs/svg_plot/example/math_special_functions.cpp | 4 ++++
   2 files changed, 13 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/demo_2d_plot.cpp 2008-01-22 12:02:17 EST (Tue, 22 Jan 2008)
@@ -16,6 +16,15 @@
 //# pragma warning (disable : 4224) // nonstandard extension used : formal parameter 'function_ptr' was previously defined as a type
 #endif
 
+#ifdef _MSC_VER
+# pragma warning (disable : 4800) // forcing value to bool 'true' or 'false' (performance warning)
+# pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
+# pragma warning (disable : 4172) // returning address of local variable or temporary
+# pragma warning (disable : 4512) // assignment operator could not be generated
+# pragma warning (disable : 4503) // decorated name length exceeded, name was truncated
+# pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
+#endif
+
 #include <boost/svg_plot/svg_2d_plot.hpp>
 
 #include <boost/svg_plot/show_2d_settings.hpp>

Modified: sandbox/SOC/2007/visualization/libs/svg_plot/example/math_special_functions.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/libs/svg_plot/example/math_special_functions.cpp (original)
+++ sandbox/SOC/2007/visualization/libs/svg_plot/example/math_special_functions.cpp 2008-01-22 12:02:17 EST (Tue, 22 Jan 2008)
@@ -15,6 +15,10 @@
 //# pragma warning (disable : 4267) // conversion from 'size_t' to 'const unsigned int', possible loss of data
 # pragma warning (disable : 4127) // conditional expression is constant
 # pragma warning (disable : 4512) // assignment operator could not be generated (in fusion)
+# pragma warning (disable : 4503) // decorated name length exceeded, name was truncated
+# pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored
+# pragma warning (disable : 4267) // conversion from 'size_t' to 'const unsigned int', possible loss of data
+# pragma warning (disable : 4172) // returning address of local variable or temporary
 #endif
 
 #include <boost/math/special_functions.hpp>


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