This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] libstdc++/17922
On Tue, Nov 02, 2004 at 05:51:32PM +0100, Paolo Carlini wrote:
> No, no, you see clearly everything (as the last entry in the audit trail
> shows ;): I was referring to the problem we have with
> _S_ios_openmode_end & co, which the user does *not* know and should
> *not* trigger a warning if missing from the switch... This is a warning
> regression basically, but unfortunately (to "answer" your question is
> the audit trail) I do *not* have any bright idea to fix it within the
> current ABI... :-(
Compiler magic?
Could the "unused" attribute be used to say that some enums are only
used as placeholders and shouldn't raise a warning if not handled in a
switch?
jon
--
"The effort to understand the universe is one of the very few things that
lifts human life a little above the level of farce and gives it some of
the grace of tragedy."
- Steven Weinberg