This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: #import, #pragma once to be removed in 3.4


On Thu, Feb 06, 2003 at 12:49:19PM -0800, Zack Weinberg wrote:
> So we had a discussion of the problems that PCH poses for #import,
> which expanded to a discussion of the problems of #import and
> #pragma once generally, which then pretty much wound down without any
> middle ground being found between 'there must be some way to fix it'
> and 'no, sorry, there isn't'.  I think that an executive decision is
> required at this point, which falls to me as cpplib maintainer.
> 
> Accordingly: #import and #pragma once will be removed from FSF GCC in
> 3.4.  I will shortly send a patch to gcc-patches to implement that.

This seems reasonable.  Since we should always deprecate a feature before
removing it, if we do this, then gcc 3.3 should issue a deprecation
warning for these features.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]