Message254270
> By the way, I don't know what happens if you pass a variable to Py_BUILD_ASSERT_EXPR() rather than a constant.
If the compiler can't calculate it at compile time (e.g. int_var <= INT_MAX), your are out of luck.
> Maybe we could use __builtin_constant_p() on GCC?
Don't know if it will help. |
|
Date |
User |
Action |
Args |
2015-11-07 14:18:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, skrah, python-dev |
2015-11-07 14:18:53 | serhiy.storchaka | set | messageid: <1446905933.39.0.936910162683.issue25558@psf.upfronthosting.co.za> |
2015-11-07 14:18:53 | serhiy.storchaka | link | issue25558 messages |
2015-11-07 14:18:53 | serhiy.storchaka | create | |
|