Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 256654

Summary: dev-libs/fcgi fails to build with GCC 4.4
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Hans de Graaff <graaff>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Patch to add #include <cstdio> to enable gcc 4.4 build

Description Daniel J. 2009-01-28 16:44:40 UTC
Build of dev-libs/fcgi-2.4.1_pre0311112127 fails with the following errors:

fcgio.cpp: In destructor 'virtual fcgi_streambuf::~fcgi_streambuf()':
fcgio.cpp:50: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::overflow(int)':
fcgio.cpp:70: error: 'EOF' was not declared in this scope
fcgio.cpp:75: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::sync()':
fcgio.cpp:86: error: 'EOF' was not declared in this scope
fcgio.cpp:87: error: 'EOF' was not declared in this scope
fcgio.cpp: In member function 'virtual int fcgi_streambuf::underflow()':
fcgio.cpp:113: error: 'EOF' was not declared in this scope

This is because #include <cstdio> is missing from one of the headers.
Comment 1 Daniel J. 2009-01-28 16:45:58 UTC
Created attachment 179976 [details, diff]
Patch to add #include <cstdio> to enable gcc 4.4 build
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-04-15 01:33:00 UTC
in gcc-porting overlay
Comment 3 Hans de Graaff gentoo-dev Security 2009-04-18 12:34:01 UTC
Ryan, thanks for doing all the work here, and apoligies for the delay on my side. Daniel, thanks for the patch and diagnosis.

I've moved Ryan's version to CVS.