Subject: Re: standards/2243: gcc is not providing a useful warning.
To: None <netbsd-bugs@NetBSD.ORG>
From: Ty Sarna <tsarna@endicor.com>
List: netbsd-bugs
Date: 03/21/1996 20:40:37
In article <199603210451.WAA28006@taniemarie.solon.com>,
Peter Seebach <seebs@taniemarie.solon.com> wrote:
> (Note: Yes, this is really illegal. No, ANSI does not require a
> diagnostic, but yes, it really does invoke undefined behavior.)
It would be a good thing if when reporting standard bugs people would
reference the standard instead of saying "it really does".
By the way, 5.1.2.2.1 (ISO, or 2.1.2.2.1 in ANSI, I guess) doesn't seem
to be the real reason for this. Note the weak wording: "can" (~= may)
rather than "shall" or "must". The actual reason is linkage problems,
and it's not stated explicitly.