Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Randolph Chung <randolph@tausq.org>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] removing warnings from math-emu code
Date: Mon, 11 Aug 2003 20:42:44 -0700	[thread overview]
Message-ID: <20030812034244.GC21328@tausq.org> (raw)

Would anyone mind if i committed this to cvs? (2.6 only) It
removes/hides all the warnings from the math-emu directory, since we
don't plan to fix them... 

Index: arch/parisc/math-emu/Makefile
===================================================================
RCS file: /var/cvs/linux-2.6/arch/parisc/math-emu/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- arch/parisc/math-emu/Makefile	29 Jul 2003 17:00:42 -0000	1.1
+++ arch/parisc/math-emu/Makefile	12 Aug 2003 03:38:58 -0000
@@ -2,6 +2,11 @@
 # Makefile for the linux/parisc floating point code
 #
 
+# See arch/parisc/math-emu/README
+CFLAGS += -Wno-parentheses -Wno-implicit-function-declaration \
+	-Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \
+	-Wno-implicit-int
+
 obj-y	 := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \
 		dfmpy.o sfmpy.o sfsqrt.o dfsqrt.o dfadd.o fmpyfadd.o \
 		sfadd.o dfsub.o sfsub.o fcnvfxt.o fcnvff.o fcnvxf.o \
Index: arch/parisc/math-emu/types.h
===================================================================
RCS file: /var/cvs/linux-2.6/arch/parisc/math-emu/types.h,v
retrieving revision 1.1
diff -u -p -r1.1 types.h
--- arch/parisc/math-emu/types.h	29 Jul 2003 17:00:42 -0000	1.1
+++ arch/parisc/math-emu/types.h	12 Aug 2003 03:38:58 -0000
@@ -20,6 +20,7 @@
  */
 
 #include <linux/kernel.h>
+#undef BUG
 #define BUG() do { \
         printk(KERN_ERR "floating-pt emulation BUG at %s:%d!\n", __FILE__, __LINE__); \
 } while (0)

thanks,
randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

             reply	other threads:[~2003-08-12  3:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12  3:42 Randolph Chung [this message]
2003-08-12 15:14 ` [parisc-linux] removing warnings from math-emu code Grant Grundler
2003-08-12 15:54   ` Joel Soete
2003-08-12 15:54   ` Joel Soete

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030812034244.GC21328@tausq.org \
    --to=randolph@tausq.org \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox