Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc note binutils/ld/ldlex.c hack



details:   https://anonhg.NetBSD.org/src/rev/a7d281943e2e
branches:  trunk
changeset: 555964:a7d281943e2e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Dec 05 03:28:38 2003 +0000

description:
note binutils/ld/ldlex.c hack

diffstat:

 doc/HACKS |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r e05db2ae03e3 -r a7d281943e2e doc/HACKS
--- a/doc/HACKS Fri Dec 05 03:25:36 2003 +0000
+++ b/doc/HACKS Fri Dec 05 03:28:38 2003 +0000
@@ -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 @@
        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
 



Home | Main Index | Thread Index | Old Index