A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-November/050091.html below:

[Python-Dev] py2.4 and gcc4

[Python-Dev] py2.4 and gcc4Anthony Baxter anthony at interlink.com.au
Tue Nov 23 14:19:53 CET 2004
Fedora rawhide now ships with a gcc4 preview package - I thought I'd build
current-cvs with it. 

Readline fails to build with 
gcc4 -pthread -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC 
-fno-strict-aliasing -I. -I/home/anthony/src/py/pyhead/dist/src/./Include 
-I/usr/local/include -I/home/anthony/src/py/pyhead/dist/src/Include 
-I/home/anthony/src/py/pyhead/dist/src 
-c /home/anthony/src/py/pyhead/dist/src/Modules/readline.c -o 
build/temp.linux-i686-2.4/readline.o
/home/anthony/src/py/pyhead/dist/src/Modules/readline.c:97: error: static 
declaration of ‘history_length’ follows non-static declaration
/usr/include/readline/history.h:224: error: previous declaration of 
‘history_length’ was here

test_cfgparser causes a segfault, unfortunately. Since this doesn't
occur with any other compilers that I know of (*) I'm inclined to 
blame gcc4, and not bother too much with it further. I'm pretty 
short of time, but if someone wants to spend time figuring out
why, let me know and I'll dump a SF bugreport with the stack
trace &c...

Anthony

(*) Ok - the HP compiler on HP/UX on Itanium causes segfaults and
random breakages _everywhere_ but that's because of the platform.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4