[New-bugs-announce] [issue31434] [3.6] Python/random.c:128:17: warning: implicit declaration of function 'getrandom'

STINNER Victor report at bugs.python.org
Tue Sep 12 13:41:59 EDT 2017


New submission from STINNER Victor:

haypo at selma$ touch Python/random.c 
haypo at selma$ LANG= make

gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -Wstrict-prototypes -O0   -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers   -I. -I./Include    -DPy_BUILD_CORE -o Python/random.o Python/random.c
Python/random.c: In function 'py_getrandom':
Python/random.c:128:17: warning: implicit declaration of function 'getrandom'; did you mean 'py_getrandom'? [-Wimplicit-function-declaration]
             n = getrandom(dest, n, flags);
                 ^~~~~~~~~
                 py_getrandom

----------
components: Build
messages: 301981
nosy: haypo
priority: normal
severity: normal
status: open
title: [3.6] Python/random.c:128:17: warning: implicit declaration of function 'getrandom'
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31434>
_______________________________________


More information about the New-bugs-announce mailing list