Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 19:55:18 -0500
From:      David Gilbert <dgilbert@dclg.ca>
To:        freebsd-current@freebsd.org, freebsd-hackers@freebsd.org
Subject:   GCC include files conundrum.
Message-ID:  <16468.65270.123954.862565@canoe.dclg.ca>

next in thread | raw e-mail | index | archive | help
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@daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16468.65270.123954.862565>