This is the mail archive of the gcc-bugs@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)


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

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