From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: zack@wolery.cumb.org (Zack Weinberg) Cc: gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: Unsatisfied symbols: cpp_register_pragma (code), cpp_register_pragma_space (code) Date: Fri, 08 Sep 2000 10:43:00 -0000 Message-id: <200009081743.NAA07854@hiauly1.hia.nrc.ca> References: <20000908103800.J23913@wolery.cumb.org> X-SW-Source: 2000-09/msg00291.html > > 2000-09-08 J. David Anglin > > > > 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 * 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)