Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66940 - trunk/libs/system/src
From: kbelco_at_[hidden]
Date: 2010-12-01 00:29:27


Author: noel_belcourt
Date: 2010-12-01 00:29:24 EST (Wed, 01 Dec 2010)
New Revision: 66940
URL: http://svn.boost.org/trac/boost/changeset/66940

Log:
Fix PGI non-compliance (portability issue).

Patch supplied by William Bohnhoff at Sandia.

Text files modified:
   trunk/libs/system/src/error_code.cpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/libs/system/src/error_code.cpp
==============================================================================
--- trunk/libs/system/src/error_code.cpp (original)
+++ trunk/libs/system/src/error_code.cpp 2010-12-01 00:29:24 EST (Wed, 01 Dec 2010)
@@ -39,6 +39,9 @@
 
 namespace
 {
+#if defined(__PGI)
+ using boost::system::errc::invalid_argument;
+#endif
   // standard error categories ---------------------------------------------//
 
   class generic_error_category : public error_category


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