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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to