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: 2009-06-06 16:58:49


#1532: #pragma once
-------------------------------+--------------------------------------------
  Reporter: NN | Owner: johnmaddock
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.36.0 | Component: config
   Version: Boost 1.34.1 | Severity: Optimization
Resolution: wontfix | Keywords:
-------------------------------+--------------------------------------------
Changes (by johnmaddock):

  * status: new => closed
  * resolution: => wontfix

Comment:

 I thought we did some tests and decided it wasn't worth the effort?
 Compilers are mostly smart enough now not to need this hint.

 In any case the proposed solution won't work: #pragma message isn't
 supported by anything except MSVC I believe, so every other compiler would
 emit a warning about an unknown pragma :-(

 We could define a BOOST_HAS_PRAGMA_ONCE, but this would basically be
 synonymous with _MSC_VER I believe and therefore superfluous, especially
 now the only other case - GCC - has deprecated this.

 Closing down for now, please reopen if a better solution presents itself
 and/or if you have convincing use cases (with data!) :-)

 John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1532#comment:5>
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:50:00 UTC