Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 1998 16:39:31 -0700
From:      Terry Lambert <terry@whistle.com>
To:        John Polstra <jdp@polstra.com>
Cc:        obrien@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: gcc/g++ 2.8.1 port maintainers/modifiers
Message-ID:  <35A16033.7E59@whistle.com>
References:  <199807062300.QAA29033@austin.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote:
> 
> > There appears to be a problem with the non-installation of the
> > include files in the port.
> >
> > Specifically, the include file "typeinfo" is not installed,
> 
> I think you must have an out of date port.  I have one that I
> installed just a few days ago.  It definitely installs the <typeinfo>
> header:
> 
> > vashon$ cat test.cc
> > #include <typeinfo>
> > vashon$ gcc28 -c -H test.cc
> > /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/typeinfo
> >  /usr/local/lib/gcc-lib/i386-unknown-freebsd3.0/2.8.1/include/exception

The correct place for this to be installed is in the directory
include/g++/sys/typeinfo.h, with a wrapper include in
include/g++/typeinfo that includes sys/typeinfo.h.

In any case, it shouldn't be in the top level include directory,
and the g++ includes the one in /usr/include in preference to that
one, even if it were being put in the right place (ie: in include
instead of, minimally, in include/g++/typeinfo).

Try adding:

#warning "This is the wrong file, you bozo!"

To the /usr/include/g++/typeinfo file, and you will see what I
mean.  The port is broken...

-- Terry Lambert
-- Whistle Communications, Inc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



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