New submission from Hansraj Das <[email protected]>:
I am facing below compilation warning on compilation python source:
***********************************************************************
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -std=c99
-Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initial
izers -Werror=implicit-function-declaration -I./Include/internal -I.
-I./Include -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
Objects/obmalloc.c: In function __PyObject_Malloc_:
Objects/obmalloc.c:1646:16: warning: _ptr_ may be used uninitialized in this
function [-Wmaybe-uninitialized]
return ptr;
^~~
***********************************************************************
This is another thread having suggestions from Victor:
https://github.com/python/cpython/pull/15293
----------
components: Build
files: warning-2019-08-15 01-15-06.png
messages: 349824
nosy: hansrajdas, vstinner
priority: normal
pull_requests: 15029
severity: normal
status: open
title: Compilation warning on GCC version 7.4.0-1ubuntu1~18.04.1
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file48546/warning-2019-08-15 01-15-06.png
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37869>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com