On 8/12/21 4:36 am, Antoine Pitrou wrote:
Is there a way to emit a compilation warning when those macros are used as l-values? Even if only enabled on some compilers.
Maybe the macro could be written so that it expands to something with a cast around it? I think gcc has an option for warning about casts used as l-values. -- Greg _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/DG6GBX6OFCK4D2G6CGQFW5QX5JXQPAZO/ Code of Conduct: http://python.org/psf/codeofconduct/
