Subject: Re: CVS commit: src/lib/libc/arch/vax/net
To: Havard Eidnes <>
From: Luke Mewburn <>
List: source-changes
Date: 06/07/2004 09:43:25
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 06, 2004 at 01:26:01PM +0000, Havard Eidnes wrote:
  | Module Name:	src
  | Committed By:	he
  | Date:		Sun Jun  6 13:26:01 UTC 2004
  | Modified Files:
  | 	src/lib/libc/arch/vax/net:
  | Log Message:
  | It appears necessary to add -I. to CPPFLAGS for nslexer.c.  This is
  | most probably caused by gcc 2.95.3; will be documented in doc/HACKS.
  | Reviewed by ragge.

This is a common issue for "auto generated" header files that end up
in ${.OBJDIR} (which could be the srcdir ${.CURDIR} if you're not
using objdirs).

I don't consider it a hack to require that we need to explicitly
add -I. to CPPFLAGS to successfully reference #include header
files created in the .OBJDIR by an earlier part of the build
process.  Note that you still need to add such header files to
DPSRCS in the Makefile to ensure that the build dependency ordering
is correct.


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)