note binutils/ld/ldlex.c hack

This commit is contained in:
mrg 2003-12-05 03:28:38 +00:00
parent 492975536e
commit dcbb0b441f
1 changed files with 13 additions and 1 deletions

View File

@ -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 <stdint.h>
to get the relevant definitions. This hack should be backed out
when all platforms have switched away from GCC2.
kcah
port vax