This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hansrajdas
Recipients hansrajdas, vstinner
Date 2019-08-15.20:30:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565901041.74.0.0939495038375.issue37869@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-08-15 20:30:41hansrajdassetrecipients: + hansrajdas, vstinner
2019-08-15 20:30:41hansrajdassetmessageid: <1565901041.74.0.0939495038375.issue37869@roundup.psfhosted.org>
2019-08-15 20:30:41hansrajdaslinkissue37869 messages
2019-08-15 20:30:41hansrajdascreate