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: #pragma once


"Daniel Sievers" <DSievers@nvidia.com> writes:

> Hi,
> 
> What is the status and plans about further supporting or removing the
> "#pragma once" feature?
> 
> Is it possible that you remove the warning: "#pragma once is obsolete"
> in future gcc versions or add a switch to disable it?
[snip]

See http://gcc.gnu.org/gcc-3.4/changes.html, particularly:

  * File handling in the preprocessor has been rewritten. GCC no
    longer gets confused by symlinks and hardlinks, and now has a
    correct implementation of #import and #pragma once. These two
    directives have therefore been un-deprecated.
    
 


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