------- Additional Comments From joseph at codesourcery dot com 2005-04-01 20:19 ------- Subject: Re: Attempt to use undefined structure tag triggers no diagnostic
On Fri, 1 Apr 2005, jozef dot behran at krs dot sk wrote: > Note that the code is valid, but unusual. If you see a structure tag used > somewhere without being declared, most likely it is a bug in the code. > Otherwise No, if a tag is used without the structure or union contents being defined then most likely it is being used as an opaque type and the definition is in a separate internal header for e.g. the library implementation but does not form part of the public interface. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20655