[New-bugs-announce] [issue25853] Compile error with pytime.h - struct timespec declared inside parameter list
jamespharvey20
report at bugs.python.org
Sat Dec 12 18:09:50 EST 2015
New submission from jamespharvey20:
When including pytime.h:
n file included from /usr/include/python3.5m/Python.h:65:0,
from src/package.c:25:
/usr/include/python3.5m/pytime.h:136:56: error: ‘struct timespec’ declared inside parameter list [-Werror]
PyAPI_FUNC(int) _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts);
^
/usr/include/python3.5m/pytime.h:136:56: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
----------
components: Library (Lib)
messages: 256301
nosy: jamespharvey20
priority: normal
severity: normal
status: open
title: Compile error with pytime.h - struct timespec declared inside parameter list
type: compile error
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25853>
_______________________________________
More information about the New-bugs-announce
mailing list