From owner-freebsd-bugs Wed Sep 30 13:40:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18644 for freebsd-bugs-outgoing; Wed, 30 Sep 1998 13:40:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18561 for ; Wed, 30 Sep 1998 13:40:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA18460; Wed, 30 Sep 1998 13:40:01 -0700 (PDT) Date: Wed, 30 Sep 1998 13:40:01 -0700 (PDT) Message-Id: <199809302040.NAA18460@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Dmitrij Tejblum Subject: Re: bin/7575: flex has inconsistency in the location of FlexLexer.h. Reply-To: Dmitrij Tejblum Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7575; it has been noted by GNATS. From: Dmitrij Tejblum To: moro@remus.dti.ne.jp Cc: freebsd-gnats-submit@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: bin/7575: flex has inconsistency in the location of FlexLexer.h. Date: Thu, 01 Oct 1998 00:31:33 +0400 > /usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++, but > flex still generates "#include ". > As a result, C++ sources flex generates failed to be compiled. 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. Our standard C++ compiler do. So, this is pilot error ;-) > >Fix: > replace all with 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? > (or revert the location of FlexLexer.h to /usr/include.) (This might be a good idea though, but I don't think so now.) Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message