Date: Wed, 30 Sep 1998 13:40:01 -0700 (PDT) From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/7575: flex has inconsistency in the location of FlexLexer.h. Message-ID: <199809302040.NAA18460@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/7575; it has been noted by GNATS. From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> 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 <FlexLexer.h>". > 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 <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? > (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809302040.NAA18460>