Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256654 - dev-libs/fcgi fails to build with GCC 4.4
Summary: dev-libs/fcgi fails to build with GCC 4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-01-28 16:44 UTC by Daniel J.
Modified: 2009-04-18 12:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add #include <cstdio> to enable gcc 4.4 build (fcgi-2.4.1_pre0311112127-gcc-4.4.patch,376 bytes, patch)
2009-01-28 16:45 UTC, Daniel J.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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.