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 -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/DG6GBX6OFCK4D2G6CGQFW5QX5JXQPAZO/ Code of Conduct: http://python.org/psf/codeofconduct/