Bug#417209: FTBFS with GCC 4.3: missing #includes

Peter Eisentraut petere at debian.org
Wed May 7 16:11:34 UTC 2008


tags 417209 - patch
stop

The previously posted patch does not completely fix the problem.  It stops for 
me here:

 ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -g -Wall -O2 -c 
snmpsock.C -o snmpsock.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile ccache 
g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -g -Wall -O2 -c -o 
structfill.lo `test -f 'structfill.C' || echo './'`structfill.C
 ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -g -Wall -O2 -c 
structfill.C  -fPIC -DPIC -o .libs/structfill.o
structfill.C:31:22: error: iostream.h: No such file or directory
structfill.C: In member function 'int SNMP_structFiller::fillStruct(OidSeq*, 
void*)':
structfill.C:94: error: 'cerr' was not declared in this scope
structfill.C:98: error: 'cerr' was not declared in this scope
structfill.C:101: error: 'ios' has not been declared
structfill.C:101: error: expected `;' before 'opts'
structfill.C:102: error: 'opts' was not declared in this scope
structfill.C:102: error: 'cerr' was not declared in this scope
structfill.C: In member function 'void* SNMP_structFiller::get(void*)':
structfill.C:180: error: 'cerr' was not declared in this scope

Changing iostream.h to iostream in the file does not fix it for me.





More information about the pkg-gnome-maintainers mailing list