]> Zhao Yanbai Git Server - minix.git/commitdiff
enable fatal warnings 94/794/14
authorBen Gras <ben@minix3.org>
Mon, 26 Aug 2013 16:43:16 +0000 (16:43 +0000)
committerBen Gras <ben@minix3.org>
Sun, 1 Sep 2013 12:59:37 +0000 (12:59 +0000)
. kernel: fix some arm warnings
. turn of fatal warnings for texinfo

Change-Id: I71e228c87a7226adbbd940ccb1439e042d7b6e9a

gnu/usr.bin/texinfo/install-info/Makefile
gnu/usr.bin/texinfo/texindex/Makefile
kernel/arch/earm/omap_padconf.c
kernel/arch/earm/omap_rtc.c
share/mk/bsd.own.mk

index cd8225b2a001d3fe69654e1d3e225e963db6ac9f..28f852e139938d9e06533dbe2b0507fda2e1e724 100644 (file)
@@ -1,5 +1,10 @@
 #      $NetBSD: Makefile,v 1.10 2004/02/09 06:52:34 lukem Exp $
 
+.if defined(__MINIX)
+NOCLANGERROR=yes
+NOGCCERROR=yes
+.endif
+
 PROG=          install-info
 SRCS=          install-info.c
 
index fe651aa39c7d85b45b1ecbcbd8b846e42dc66abf..4a24d45866cfe918e8cfbbf4729ccda387c8fdf4 100644 (file)
@@ -1,5 +1,10 @@
 #      $NetBSD: Makefile,v 1.4 2003/01/17 15:32:25 wiz Exp $
 
+.if defined(__MINIX)
+NOGCCERROR=yes
+NOCLANGERROR=yes
+.endif
+
 PROG=          texindex
 SRCS=          texindex.c
 
index cb67cac954b1e4e792c2fa94d87fb21b11f81e75..3b6638a8b35e3830bcd7ebcf42b9e295390645b2 100644 (file)
@@ -45,7 +45,7 @@ void
 arch_padconf_init(void)
 {
        kern_phys_map_ptr(omap_padconf.base, omap_padconf.size,
-           &padconf_phys_map, &omap_padconf.base);
+            &padconf_phys_map, (vir_bytes) &omap_padconf.base);
 
        return;
 }
index 849d77fbd70ab2ffd47e2d9430412754c6e7162a..26e2eca337c910933a601eccdecf8428fc66c2e3 100644 (file)
@@ -41,7 +41,7 @@ omap3_rtc_init(void)
 {
 #ifdef AM335X
        kern_phys_map_ptr(omap_rtc.base, omap_rtc.size, &rtc_phys_map,
-           &omap_rtc.base);
+           (vir_bytes) &omap_rtc.base);
 #endif /* AM335X */
 }
 
index 448d098f6de7d07b9f091ee415085e72ade4f69a..5bdb81b274301a825fa261f427436a169453cc10 100644 (file)
@@ -85,12 +85,6 @@ LDS_RELOC=           ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xr
 LDS_SHARED_LIB=                ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xsc
 LDS_N=                 ${LDS_PATH}/elf_${MACHINE_ARCH}_minix.xbn
 
-# LSC In the current state there is too much to be done
-# Some package have been identified by directly adding NOGCCERROR
-# To their Makefiles
-NOGCCERROR?=   yes
-NOCLANGERROR?= yes
-
 AFLAGS+=       -D__ASSEMBLY__
 CFLAGS+=       -fno-builtin