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]

Re: Unsatisfied symbols: cpp_register_pragma (code), cpp_register_pragma_space (code)


On Fri, Sep 08, 2000 at 01:29:13PM -0400, John David Anglin wrote:
...

> 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.

zw



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