Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 18:34:02 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.ORG, tejblum@arc.hq.cti.ru
Subject:   Re: bin/7575: flex has inconsistency in the location of FlexLexer.h.
Message-ID:  <199810010834.SAA00888@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
> Why /usr/include/g++ exists in the first place? To make it hard for C programs 
> to include C++ headers. A C++ compiler should have /usr/include/g++ in its 
> standard search path.

Only if the C++ compiler is g++.

>Our standard C++ compiler do. So, this is pilot error ;-)

> > >Fix:
> > replace all <FlexLexer.h> with <g++/FlexLexer.h> in /usr/src/usr.bin/lex/* 
> 
> This is very bogus for other reasons too, and I may explain them if somebody 
> want. So, I plan to back out these changes. Does someone object?

Not me.

> > (or revert the location of FlexLexer.h to /usr/include.)
> 
> (This might be a good idea though, but I don't think so now.)

It can't be right to put it in a different place than the flex
distribution.  This place is seems to be /usr/include.  See lex/NEWS
(news about Dec93 release).

Bruce

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



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