GCC include files conundrum.

From: David Gilbert <dgilbert_at_dclg.ca>
Date: Sun, 14 Mar 2004 19:55:18 -0500
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================
Received on Sun Mar 14 2004 - 15:55:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC