Message 352765 - Python tracker
Message352765
| Author | ammar2 |
|---|---|
| Recipients | ammar2, gregory.p.smith, malin, sir-sigurd, vstinner, zach.ware |
| Date | 2019-09-19.01:34:35 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1568856875.8.0.508923457297.issue38205@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
For the control path warning, that can be fixed by just hinting to the compiler that the function doesn't return like so:
# ifdef __GNUC__
__attribute__ ((noreturn))
# elif defined(_MSC_VER)
__declspec(noreturn)
# endif
static inline void
_Py_UNREACHABLE()
{
(https://godbolt.org/z/AG9tx_) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-09-19 01:34:35 | ammar2 | set | recipients: + ammar2, gregory.p.smith, vstinner, zach.ware, malin, sir-sigurd |
| 2019-09-19 01:34:35 | ammar2 | set | messageid: <1568856875.8.0.508923457297.issue38205@roundup.psfhosted.org> |
| 2019-09-19 01:34:35 | ammar2 | link | issue38205 messages |
| 2019-09-19 01:34:35 | ammar2 | create | |