-Dgnu_{linux,hurd}
Andi Kleen
ak@suse.de
Mon Apr 15 12:44:00 GMT 2002
Mark Mitchell <mark@codesourcery.com> writes:
> > Yeah, I saw that. I wanted to make sure I made this point before he
> > spent too much time on Windows.
> >
> > Isn't it likely that there will be a few other systems with the same
> > needs, too?
>
> Let's hope not. We can always back off as needs be, but hopefully we
> can eliminate a lot of these. It would certainly help to make programs
> more portable.
It doesn't look like a good tradeoff for me. I bet there will be much
more problems with programs breaking on Linux because linux isn't defined
anymore than the very unlikely case that you have some other system with
a symbol called linux that means something else.
While it's theoretically correct following POSIX/ANSI-C it doesn't look like a
very useful change to me in practice.
-Andi
More information about the Gcc-bugs
mailing list