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: other/823: gcc -U does not undef a macro


Hi Richard,

It does actually undefine it, but it gets processed before -D :-(

This is a gcc.c specs issue; I don't think fixing it is entirely
trivial.  We need gcc.c to pass all -D and -U options in the order
they appear, and not to group them like it currently does.

Neil.

Richard Earnshaw wrote:-
> 
> >Number:         823
> >Category:       other
> >Synopsis:       preprocessor -U does not undef a macro
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    unassigned
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Thu Nov 16 15:36:00 PST 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     Richard Earnshaw
> >Release:        2.97 20001114 (experimental)
> >Organization:
> ARM

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