Update of /cvsroot/boost/boost/boost/interprocess/smart_ptr/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17964/smart_ptr/detail

Modified Files:
        sp_counted_base.hpp 
Log Message:
Corrected gcc bug in release mode

Index: sp_counted_base.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sp_counted_base.hpp 12 May 2007 12:51:20 -0000      1.3
+++ sp_counted_base.hpp 23 May 2007 15:47:54 -0000      1.4
@@ -1,43 +1,7 @@
 #ifndef BOOST_INTERPROCESS_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
 #define BOOST_INTERPROCESS_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
 
-// MS compatible compilers support #pragma once
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
-#endif
-
-//  This file is the adaptation for shared memory memory mapped
-//  files of boost/detail/sp_counted_base.hpp
-//
-//  Copyright 2005 Peter Dimov
-//  Copyright 2006 Ion Gaztanaga
-//
-// Distributed under the Boost Software License, Version 1.0. (See
-// accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-
-#include <boost/interprocess/detail/config_begin.hpp>
-#include <boost/interprocess/detail/workaround.hpp>
-
-#if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-
-# include <boost/interprocess/smart_ptr/detail/sp_counted_base_w32.hpp>
-
-#elif defined( BOOST_HAS_PTHREADS ) && defined 
BOOST_INTERPROCESS_POSIX_PROCESS_SHARED
-
-//Ordinary pthreads counted base is not enough
-//we need process shared attributte.
-# include <boost/interprocess/smart_ptr/detail/sp_counted_base_pt.hpp>
-
-#else
-
 # include <boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp>
 
-#endif
-
-#include <boost/interprocess/detail/config_end.hpp>
-
 #endif  // #ifndef BOOST_INTERPROCESS_DETAIL_SP_COUNTED_BASE_HPP_INCLUDED
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to