Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73286 - trunk/libs/locale/src/posix
From: artyomtnk_at_[hidden]
Date: 2011-07-21 16:01:34


Author: artyom
Date: 2011-07-21 16:01:33 EDT (Thu, 21 Jul 2011)
New Revision: 73286
URL: http://svn.boost.org/trac/boost/changeset/73286

Log:
An attempt to fix an issue when mask is enum type for pathscale 4 compiler

Text files modified:
   trunk/libs/locale/src/posix/numeric.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/locale/src/posix/numeric.cpp
==============================================================================
--- trunk/libs/locale/src/posix/numeric.cpp (original)
+++ trunk/libs/locale/src/posix/numeric.cpp 2011-07-21 16:01:33 EDT (Thu, 21 Jul 2011)
@@ -210,7 +210,7 @@
     {
         while(begin!=end) {
             char c= *begin++;
- mask r=0;
+ mask r=mask();
             if(isspace_l(c,*lc_))
                 r|=space;
             if(isprint_l(c,*lc_))
@@ -305,7 +305,7 @@
     {
         while(begin!=end) {
             wchar_t c= *begin++;
- mask r=0;
+ mask r=mask();
             if(iswspace_l(c,*lc_))
                 r|=space;
             if(iswprint_l(c,*lc_))


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