sysprof 3.34.1 error declaration shadows a variable in the global scope
Hi.
Sysprof 3.34.0 build fine (still) but when trying build 3.34.1 I see this error:
./src/libsysprof-ui/sysprof-profiler-assistant.c:238:23: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
DEBUG util.py:587: SysprofEnviron *environ;
DEBUG util.py:587: ^
DEBUG util.py:587: /usr/include/unistd.h:545:15: note: previous declaration is here
DEBUG util.py:587: extern char **environ;
DEBUG util.py:587: ^
DEBUG util.py:587: ../src/libsysprof-ui/sysprof-profiler-assistant.c:408:29: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
DEBUG util.py:587: g_autoptr(SysprofEnviron) environ = sysprof_environ_new ();
DEBUG util.py:587: ^
DEBUG util.py:587: /usr/include/unistd.h:545:15: note: previous declaration is here
DEBUG util.py:587: extern char **environ;
DEBUG util.py:587: ^
DEBUG util.py:587: 2 errors generated.
Full build log available here: abf build log ,
OS: OpenMandriva Cooker, clang 9 compiler
Any way to fix this?