This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unsatisfied symbols: cpp_register_pragma (code), cpp_register_pragma_space (code)
- To: zack at wolery dot cumb dot org (Zack Weinberg)
- Subject: Re: Unsatisfied symbols: cpp_register_pragma (code), cpp_register_pragma_space (code)
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Fri, 8 Sep 2000 13:43:16 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> > 2000-09-08 J. David Anglin <dave@hiauly1.hia.nrc.ca>
> >
> > lex.c (init_cp_pragma): Don't call cpp_register_pragma or
> > cpp_register_pragma_space if HANDLE_GENERIC_PRAGMAS is not defined.
>
> This is not right. #pragma [GCC] interface and implementation need to
> work irrespective of the value of HANDLE_GENERIC_PRAGMAS. The right
> fix is to adjust c-pragma.c so that the registry and dispatch routines
> don't depend on HANDLE_GENERIC_PRAGMAS, and c-lex.c so that the
> dispatch routine does get called. I'll try to generate a patch.
Sound like this wan't right either:
2000-09-07 Richard Henderson <rth@cygnus.com>
* c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
do not call dispatch_pragma.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)