This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/4462] Incorrect warning about noreturn function in C++
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: gcc-bugzilla at gcc dot gnu dot org, <bangerth at dealii dot org>, <gcc-bugs at gcc dot gnu dot org>, <nathan at codesourcery dot com>
- Date: Fri, 23 May 2003 14:19:00 -0500 (CDT)
- Subject: Re: [Bug c++/4462] Incorrect warning about noreturn function in C++
> > ------- Additional Comments From bangerth@dealii.org 2003-05-23 14:30 -------
> > The noreturn argument is certainly not part of the function's signature,
> > so it wouldn't be inherited from functions in a derived class.
>
> Why not?
>
> It's not like the standard prescribes the meaning of noreturn.
Certainly right. It's a gcc extension (another one where we don't know the
exact semantics, sigh). I'd argue that making the attribute part of the
signature of the function would just multiply the problem we have with
this stuff, and would make things overly complicated.
Given that this is really not a real important thing, I doubt anyone would
like to spend his time on it. It's just too obscure what you try to do.
Nathan, I leave this to you to decide. I'm for closing this PR.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/