FTBFS with gcc 4.4, because of missing definition of 'EOF'

Bug #435658 reported by Fabrice Coutadeur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libbinio (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

Here is the compilation log with the error:
 i486-linux-gnu-g++ -DPACKAGE_NAME=\"binio\" -DPACKAGE_TARNAME=\"libbinio\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"binio 1.4\"" -DPACKAGE_BUGREPORT=\"<email address hidden>\" -DPACKAGE=\"libbinio\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -MT binstr.lo -MD -MP -MF .deps/binstr.Tpo -c binstr.cpp -fPIC -DPIC -o .libs/binstr.o
binwrap.cpp: In member function 'virtual unsigned char biniwstream::getByte()':
binwrap.cpp:51: error: 'EOF' was not declared in this scope
make[2]: *** [binwrap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i486-linux-gnu-g++ -DPACKAGE_NAME=\"binio\" -DPACKAGE_TARNAME=\"libbinio\" -DPACKAGE_VERSION=\"1.4\" "-DPACKAGE_STRING=\"binio 1.4\"" -DPACKAGE_BUGREPORT=\"<email address hidden>\" -DPACKAGE=\"libbinio\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -MT binstr.lo -MD -MP -MF .deps/binstr.Tpo -c binstr.cpp -o binstr.o >/dev/null 2>&1
make[2]: Leaving directory `/build/buildd/libbinio-1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/libbinio-1.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

This can be solved by adding #include <cstdio> to binwrap.cpp

Related branches

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

debdiff with the fix

Changed in libbinio (Ubuntu):
assignee: nobody → fabrice_sp (fabricesp)
status: New → In Progress
assignee: fabrice_sp (fabricesp) → nobody
status: In Progress → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Can you please forward this to upstream / Debian?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libbinio - 1.4-12ubuntu1

---------------
libbinio (1.4-12ubuntu1) karmic; urgency=low

  * src/binwarp.cpp: added include of cstdio to fix a compilation error with
    gcc 4.4 (LP: #435658)

 -- Fabrice Coutadeur <email address hidden> Thu, 24 Sep 2009 05:19:08 +0000

Changed in libbinio (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.