GCC include files conundrum.
David Gilbert
dgilbert at dclg.ca
Sun Mar 14 16:55:21 PST 2004
I attempted to argue that audio/tclmidi wasn't broken... and the ports
maintainer fired back with
http://bento.freebsd.org/errorlogs/i386-5-latest/tclmidi-3.1.log
Now... I started investigating this and found that this was all due to
some differences in C++ over the years.
The error on bento comes down to bento not having strstream.h. I have
that file as:
/usr/include/c++/3.3/backward/strstream.h
/usr/include/g++/backward/strstream.h
on my -CURRENT (as of a week or two ago) laptop.
bento does appear to have /usr/include/c++/3.3/backward/iostream.h
... but not strstream.h. Why?
I realize that my source upgrading may have left around a few old
files, but I don't see a replacement strstream.h.
The C++ FAQ referred to by iostream (not iostream.h) seems to imply
that you should use iostream and sstream (no .h)... but including
those files imposes a very different standard that this port is not
ready to accept. It appears that (among other things that I havn't
found yet) all 'istream' must be written 'std::istream' ... etc.
So what's the solution?
Dave.
--
============================================================================
|David Gilbert, Independent Contractor. | Two things can only be |
|Mail: dave at daveg.ca | equal if and only if they |
|http://daveg.ca | are precisely opposite. |
=========================================================GLO================
More information about the freebsd-hackers
mailing list