This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: order of -D and -U is significant


>>>>> "Erwin" == Unruh, Erwin <erwin.unruh@ts.fujitsu.com> writes:

Erwin> In current gcc the order of options -D and -U is significant. The
Erwin> Single Unix(r) Specification explicitly specifies that the order
Erwin> should not matter for the c89 command. It reads (cited from
Erwin> version 2, which is ten years old):

Erwin> I did not find a justification for the current gcc
Erwin> behavior.

GCC's behavior is more useful.  And, given its age, I think it would be
a mistake to change it.

I think if you want the c89 behavior, a wrapper program of some kind
would be the way to go.

Tom


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