Message349824
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 |
|
Date |
User |
Action |
Args |
2019-08-15 20:30:41 | hansrajdas | set | recipients:
+ hansrajdas, vstinner |
2019-08-15 20:30:41 | hansrajdas | set | messageid: <1565901041.74.0.0939495038375.issue37869@roundup.psfhosted.org> |
2019-08-15 20:30:41 | hansrajdas | link | issue37869 messages |
2019-08-15 20:30:41 | hansrajdas | create | |
|