Subject: port-mac68k/6784: macrom.c fails to compile - pointer arithmetic
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@whooppee.com>
List: netbsd-bugs
Date: 01/10/1999 14:48:21
>Number: 6784
>Category: port-mac68k
>Synopsis: macrom.c fails to compile - pointer arithmetic
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-mac68k-maintainer (NetBSD/mac68k Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 10 15:05:00 1999
>Last-Modified:
>Originator: Paul Goyette
>Organization:
-----------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | BCD7 5301 9513 58A6 0DBC | paul@whooppee.com |
| and kernel hacker | 91EB ADB1 A280 3B79 9221 | paul.goyette@ascend.com |
-----------------------------------------------------------------------------
>Release: 10-Jan-1999
>Environment:
System: NetBSD mac1.whooppee.com 1.3I NetBSD 1.3I (SLOTMAN_HWD_NCR) #400: Sun Dec 27 19:56:08 PST 1998 paul@mac1.whooppee.com:/home/paul/src/sys/arch/mac68k/compile/SLOTMAN_HWD_NCR mac68k
>Description:
Compile macrom.c - generates the following errors:
cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DM68040 -DM68030 -DM68020 -DFPSP -DFPU_EMULATE -DLKM -DDIAGNOSTIC -DNS -DMAXUSERS=16 -D_KERNEL -Dmc68020 -Dmac68k -c ../../../../arch/mac68k/mac68k/macrom.c
cc1: warnings being treated as errors
../../../../arch/mac68k/mac68k/macrom.c: In function `mrg_fixupROMBase':
../../../../arch/mac68k/mac68k/macrom.c:1818: warning: pointer of type `void *' used in arithmetic
../../../../arch/mac68k/mac68k/macrom.c:1818: warning: pointer of type `void *' used in arithmetic
../../../../arch/mac68k/mac68k/macrom.c:1830: warning: pointer of type `void *' used in arithmetic
../../../../arch/mac68k/mac68k/macrom.c:1830: warning: pointer of type `void *' used in arithmetic
../../../../arch/mac68k/mac68k/macrom.c:1869: warning: pointer of type `void *' used in arithmetic
../../../../arch/mac68k/mac68k/macrom.c:1869: warning: pointer of type `void *' used in arithmetic
*** Error code 1
Stop.
>How-To-Repeat:
see above
>Fix:
correct fix not known
>Audit-Trail:
>Unformatted: