Should #ident really be deprecated?
Tom Tromey
tromey@redhat.com
Sun Oct 4 04:44:00 GMT 2009
>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:
Ian> Hi Tom, in the fix for PR 22168 you deprecated #ident, in the sense
Ian> that gcc now warns about it. Is that really a good idea?
No.
I don't remember why I did this, but I assume it was due to the
pre-existing comment above the directive table saying that #ident was
deprecated.
Ian> I don't think there is any reason for us to actually remove #ident, so
Ian> I don't see any reason for us to warn that it is deprecated. We
Ian> should certainly warn about it when using -pedantic, but I don't see
Ian> any reason to warn about it at any other time.
Yes, I agree.
Ian> I'm on the fence about #sccs but I tend to think that we should not
Ian> warn about it except with -pedantic.
I tend to agree, because my understanding is that #sccs has a long
non-gcc history.
Tom
More information about the Gcc
mailing list