diff --git a/doc/HACKS b/doc/HACKS index 5050ab5a1bc9..d727ccbf6da9 100644 --- a/doc/HACKS +++ b/doc/HACKS @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.24 2003/11/08 17:21:15 ragge Exp $ +# $NetBSD: HACKS,v 1.25 2003/12/05 03:28:38 mrg Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -84,6 +84,18 @@ descr symbols should be consistent across all ports. kcah +hack GCC2 isn't C99 +cdate 5 December 2003 +who mrg +file gnu/dist/binutils/ld/ldlex.c: r1.2 +descr + ldlex.c is generated from ldlex.l and we get macro redefinition + errors from it if __STDC_VERSION__ is not C99 compliant. This + hack forces NetBSD 1.6 and later systems to also include + to get the relevant definitions. This hack should be backed out + when all platforms have switched away from GCC2. +kcah + port vax