Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/doc Remove the hack related to -Wno-cast-qual, now that we c...
details: https://anonhg.NetBSD.org/src/rev/9ec1bd10d635
branches: trunk
changeset: 581552:9ec1bd10d635
user: he <he%NetBSD.org@localhost>
date: Thu Jun 02 14:38:05 2005 +0000
description:
Remove the hack related to -Wno-cast-qual, now that we can use
the __UNVOLATILE() macro to annul this warning more selectively.
diffstat:
doc/HACKS | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
diffs (29 lines):
diff -r 8a4448d5bce0 -r 9ec1bd10d635 doc/HACKS
--- a/doc/HACKS Thu Jun 02 14:36:25 2005 +0000
+++ b/doc/HACKS Thu Jun 02 14:38:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.49 2005/06/02 10:25:22 he Exp $
+# $NetBSD: HACKS,v 1.50 2005/06/02 14:38:05 he Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -474,19 +474,3 @@
For now, we'll add some padding to scsipi_xfer so that
the corrupted memory is not otherwise used.
kcah
-
-port powerpc
-
- hack add -Wno-cast-qual to pmap.c
- cdate Thu Jun 2 12:18:53 CEST 2005
- who he
- file sys/arch/powerpc/conf/Makefile.powerpc : 1.34
- file sys/arch/powerpc/conf/files.powerpc : 1.59
- descr
- sys/arch/powerpc/oea/pmap.c cannot be compiled with
- -Wcast-qual because "volatile struct pteg *pmap_pteg_table"
- is being passed to memset(), and the only obvious
- alternative to adding -Wno-cast-qual I could see would
- be to open-code memset(), which I think would be worse
- than this fix.
- kcah
Home |
Main Index |
Thread Index |
Old Index