[New-bugs-announce] [issue37869] Compilation warning on GCC version 7.4.0-1ubuntu1~18.04.1
Hansraj Das
report at bugs.python.org
Thu Aug 15 16:30:41 EDT 2019
New submission from Hansraj Das <raj.das.136 at gmail.com>:
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 <report at bugs.python.org>
<https://bugs.python.org/issue37869>
_______________________________________
More information about the New-bugs-announce
mailing list