libio bugs

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Feb 4 02:16:00 GMT 1998


Mark Mitchell <mmitchell@usa.net> writes:

|> Ah, I see.  But initializer labels are a g++ extension.  Perhaps it
|> would be simpler simply to issue an error message on any use of
|> initializer labels?

That would probably the best until G++ is fixed, or the new C9x way of
doing it is implemented (which is already partly implemented in the C
frontend).

|>  Is the point of this to allow out-of-order
|> initialization of the members?

Yes.

|>  Why is there code in libio that uses
|> this extension?

Probably because it works well in C, and nobody has yet noticed that it is
broken in C++.

|>  Is there other C++ code that uses this extension?

I'm not aware of any.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org



More information about the Gcc mailing list