RFC: Make Python warnings fatal in --enable-werror mode
mikekaganski at hotmail.com
Wed Aug 12 14:56:51 UTC 2020
Recently I started to see new warnings from Python when building core:
> zipfile.py:1517: UserWarning: Duplicate name: 'cmd/ar/sc_bulletsandnumberingdialog.png'
They have been introduced by commit
IMO, it looks natural (?) to treat Python warnings as errors when we use
--enable-werror. Having that would prevent introduction of new warnings
like that. So I have prepared
https://gerrit.libreoffice.org/c/core/+/100268 to do that.
The change allows overriding it in a particular build, e.g. calling
Please comment if this is OK, or is a bad idea. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1769 bytes
Desc: not available
More information about the LibreOffice