Re: [Boost-bugs] [Boost C++ Libraries] #1532: #pragma once

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1532: #pragma once
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-22 16:11:48


#1532: #pragma once
-------------------------------+--------------------------------------------
  Reporter: NN | Owner:
      Type: Feature Requests | Status: new
 Milestone: Boost 1.35.0 | Component: None
   Version: Boost 1.34.1 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by niels_dekker):

 Thanks for your ticket. But the use of ''#pragma once'' appears rather
 controversial. You may want to check out the discussion on comp.std.c++,
 in December 2007:
 [http://groups.google.com/group/comp.std.c++/browse_thread/thread/c527240043c8df92#52ed613066ac6d59
 #pragma once in ISO standard yet?] (73 postings!)

 GCC 4 has already declared ''#pragma once'' as being obsolete:
 [http://gcc.gnu.org/onlinedocs/gcc-4.0.0/cpp/Obsolete-once_002donly-
 headers.html#Obsolete-once_002donly-headers Obsolete once-only headers]

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1532#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC