[ python-Bugs-1105699 ] Warnings in Python.h with gcc 4.0.0
SourceForge.net
noreply at sourceforge.net
Thu Jan 20 23:49:16 CET 2005
Bugs item #1105699, was opened at 2005-01-19 19:52
Message generated for change (Comment added) made by etrepum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1105699&group_id=5470
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Ippolito (etrepum)
Assigned to: Nobody/Anonymous (nobody)
Summary: Warnings in Python.h with gcc 4.0.0
Initial Comment:
(this happens for every file that includes Python.h)
In file included from ../Include/Python.h:55,
from ../Objects/intobject.c:4:
../Include/pyport.h:396: warning: 'struct winsize' declared inside
parameter list
../Include/pyport.h:397: warning: 'struct winsize' declared inside
parameter list
The source lines look like this:
extern int openpty(int *, int *, char *, struct termios *, struct
winsize *);
extern int forkpty(int *, char *, struct termios *, struct winsize *);
----------------------------------------------------------------------
>Comment By: Bob Ippolito (etrepum)
Date: 2005-01-20 17:49
Message:
Logged In: YES
user_id=139309
Beats me, it's probably just "bad style".
It's a problem because it shows up a lot in the output, so we should at
least figure out how to disable this warning so that it doesn't become
annoying.
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2005-01-20 10:18
Message:
Logged In: YES
user_id=6656
Why is this a problem? Is it not valid C or something?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1105699&group_id=5470
More information about the Python-bugs-list
mailing list