$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r74070 - sandbox/mmap/boost/mmap/mappble_objects/file/posix
From: dsaritz_at_[hidden]
Date: 2011-08-26 07:05:29
Author: psiha
Date: 2011-08-26 07:05:28 EDT (Fri, 26 Aug 2011)
New Revision: 74070
URL: http://svn.boost.org/trac/boost/changeset/74070
Log:
Fixed latest Clang compiler errors.
Text files modified: 
   sandbox/mmap/boost/mmap/mappble_objects/file/posix/flags.inl |    20 +++++++++++++-------                    
   1 files changed, 13 insertions(+), 7 deletions(-)
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/posix/flags.inl
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/posix/flags.inl	(original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/posix/flags.inl	2011-08-26 07:05:28 EDT (Fri, 26 Aug 2011)
@@ -79,16 +79,22 @@
     unsigned int  const on_construction_rights
 )
 {
+    unsigned int const oflag
+    (
+        ( ( handle_access_flags == ( O_RDONLY | O_WRONLY ) ) ? O_RDWR : handle_access_flags )
+                |
+            open_flags
+                |
+            system_hints
+    );
+
+    unsigned int const pmode( on_construction_rights );
+
     file_flags<posix> const flags =
     {
-        ( ( handle_access_flags == ( O_RDONLY | O_WRONLY ) ) ? O_RDWR : handle_access_flags )
-            |
-        open_flags
-            |
-        system_hints, // oflag
-        on_construction_rights // pmode
+        static_cast<int>( oflag ),
+        static_cast<int>( pmode )
     };
-
     return flags;
 }