Author loewis
Recipients benjamin.peterson, ezio.melotti, georg.brandl, loewis, pitrou, vstinner
Date 2012-05-02.15:39:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335973191.26.0.456676831198.issue14656@psf.upfronthosting.co.za>
In-reply-to
Content
> Py_UNREACHABLE can be used in this case *to avoid a compiler warning*.

What is the specific warning that you want to avoid, and what specific compiler version produces it currently on what specific code? 

It's not "control reaches end of non-void function without return", is it? (since if the compiler correctly determines that the code is unreachable, it shouldn't complain that control reaches the end of the function, as it doesn't reach the end of the function).
History
Date User Action Args
2012-05-02 15:39:51loewissetrecipients: + loewis, georg.brandl, pitrou, vstinner, benjamin.peterson, ezio.melotti
2012-05-02 15:39:51loewissetmessageid: <1335973191.26.0.456676831198.issue14656@psf.upfronthosting.co.za>
2012-05-02 15:39:50loewislinkissue14656 messages
2012-05-02 15:39:50loewiscreate