This is the mail archive of the gcc-patches@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: Ping: PR preprocessor/22168


On Thu, Apr 24, 2008 at 4:29 PM,  <tromey@redhat.com> wrote:
> >>>>> "Chris" == Chris Lattner <clattner@apple.com> writes:
>
>  Chris> Thanks Tom.  FWIW, #import should be treated as an extension in C/C++,
>  Chris> but treated as part of the 'standard' in ObjC mode.  The closest thing
>  Chris> that ObjC has to a spec are the various books published on it, and all
>  Chris> teach '#import'.
>
>  Thanks.  I will look at implementing this behavior, then.
>
>  Also, I noticed that the cpp documentation still claims that #import
>  is deprecated; at least, it is only documented in a section titled
>  "Obsolete once-only headers".  SNAFU I guess.  I will try to fix this
>  too.

Just to point out that section is wrong and has been wrong since
3.4.0.  See http://gcc.gnu.org/ml/gcc-patches/2003-07/msg02780.html
and
http://gcc.gnu.org/gcc-3.4/changes.html .

Thanks,
Andrew Pinski


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