Author siddhesh
Recipients cstratak, eitan.adler, martin.panter, miss-islington, pmpp, serhiy.storchaka, siddhesh, vstinner, xdegaye, ztane
Date 2018-05-28.06:31:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527489100.36.0.682650639539.issue33012@psf.upfronthosting.co.za>
In-reply-to
Content
> Pedantically the correct way is to cast to a function pointer with no prototype (empty parentheses) and from that to the target type. See for example. See for example https://godbolt.org/g/FdPdUj

This is one way that the gcc diagnostics explicitly allow in addition to variable arguments like so: https://godbolt.org/g/Dtb4fv
History
Date User Action Args
2018-05-28 06:31:40siddheshsetrecipients: + siddhesh, vstinner, pmpp, xdegaye, martin.panter, serhiy.storchaka, ztane, eitan.adler, cstratak, miss-islington
2018-05-28 06:31:40siddheshsetmessageid: <1527489100.36.0.682650639539.issue33012@psf.upfronthosting.co.za>
2018-05-28 06:31:40siddheshlinkissue33012 messages
2018-05-28 06:31:40siddheshcreate