Under gcc 4.1.1 (Ubuntu Karmic) I am getting this error when I try to
compile libodbc++:
In file included from resultset.cpp:28:
datastream.h: In member function ‘virtual int
odbc::DataStreamBuf::overflow(int)’:
datastream.h:58: error: ‘EOF’ was not declared in this scope
I have tried versions 0.2.4pre4, 0.2.5, and the svn trunk, they all
show the same error. I created this patch, feel free to use it if you
like it: