Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66886 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2010-11-30 05:04:34


Author: pbristow
Date: 2010-11-30 05:04:33 EST (Tue, 30 Nov 2010)
New Revision: 66886
URL: http://svn.boost.org/trac/boost/changeset/66886

Log:
Added explicit #include <cstddef> to try to meet stlport and others needing errno definition.
Text files modified:
   trunk/libs/math/example/error_handling_example.cpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/libs/math/example/error_handling_example.cpp
==============================================================================
--- trunk/libs/math/example/error_handling_example.cpp (original)
+++ trunk/libs/math/example/error_handling_example.cpp 2010-11-30 05:04:33 EST (Tue, 30 Nov 2010)
@@ -63,6 +63,9 @@
 #include <stdexcept>
    using std::exception;
 
+#include <cstddef>
+ // using ::errno
+
 /*`
 Next we'll define the program's main() to call the student's t
 distribution with an invalid degrees of freedom parameter,


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