diff options
author | Tor Lillqvist <tml@collabora.com> | 2023-01-24 13:09:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2023-01-24 15:11:49 +0000 |
commit | e37a4598bbfcc4359fb13e362888b5fe29a997ef (patch) | |
tree | ff10ae8004a8d2a78b568d03ee6bbd9704b247bf /cpp.hint | |
parent | bc8c1d45ac91a1b3855eec8358260a8720d4c081 (diff) |
Use PYTHONWARNINGS=ignore instead of 'default' for Emscripten
The Emscripten compiler, emcc is a Python script that wraps the actual
compiler. It outputs annoying warnings like
.../emscripten/tools/building.py:638: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/emscripten_temp_0fvvg__1/conftest.js.jso.js' mode='w' encoding='utf-8'>
to stderr. (Ditto for em++.) Some steps in typical configure script
think that a non-empty stderr means there was a problem in compiling a
test program. This happens even for a microscopic test program with an
option like -Werror which surely *is* supported. Avoid this by
setting PYTHONWARNINGS=ignore.
Change-Id: I11927fc7dccaa65a239ba65dfc7c6bb7487bf12d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146070
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'cpp.hint')
0 files changed, 0 insertions, 0 deletions