Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] removing warnings from math-emu code
@ 2003-08-12  3:42 Randolph Chung
  2003-08-12 15:14 ` Grant Grundler
  0 siblings, 1 reply; 4+ messages in thread
From: Randolph Chung @ 2003-08-12  3:42 UTC (permalink / raw)
  To: parisc-linux

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] removing warnings from math-emu code
  2003-08-12  3:42 [parisc-linux] removing warnings from math-emu code Randolph Chung
@ 2003-08-12 15:14 ` Grant Grundler
  2003-08-12 15:54   ` Joel Soete
  2003-08-12 15:54   ` Joel Soete
  0 siblings, 2 replies; 4+ messages in thread
From: Grant Grundler @ 2003-08-12 15:14 UTC (permalink / raw)
  To: Randolph Chung; +Cc: parisc-linux

On Mon, Aug 11, 2003 at 08:42:44PM -0700, Randolph Chung wrote:
> 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... 

I'm pretty sure Paul Bame said it was ok to fix them at this point.
He didn't expect any major changes to our FP EMU support or
the HPUX FP emulation it was derived from.

grant

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] removing warnings from math-emu code
  2003-08-12 15:14 ` Grant Grundler
@ 2003-08-12 15:54   ` Joel Soete
  2003-08-12 15:54   ` Joel Soete
  1 sibling, 0 replies; 4+ messages in thread
From: Joel Soete @ 2003-08-12 15:54 UTC (permalink / raw)
  To: Grant Grundler, Randolph Chung; +Cc: parisc-linux

>I'm pretty sure Paul Bame said it was ok to fix them at this point.
>He didn't expect any major changes to our FP EMU support or
>the HPUX FP emulation it was derived from.

Ha a long time ago I suggest a draft patch (iirc forget because too difficult
to manage versus HPUX). If someone else is interested in I can try to find
it back?

Joel


------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003.
On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [parisc-linux] removing warnings from math-emu code
  2003-08-12 15:14 ` Grant Grundler
  2003-08-12 15:54   ` Joel Soete
@ 2003-08-12 15:54   ` Joel Soete
  1 sibling, 0 replies; 4+ messages in thread
From: Joel Soete @ 2003-08-12 15:54 UTC (permalink / raw)
  To: Grant Grundler, Randolph Chung; +Cc: parisc-linux

>I'm pretty sure Paul Bame said it was ok to fix them at this point.
>He didn't expect any major changes to our FP EMU support or
>the HPUX FP emulation it was derived from.

Ha a long time ago I suggest a draft patch (iirc forget because too difficult
to manage versus HPUX). If someone else is interested in I can try to find
it back?

Joel


------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003.
On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-12 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12  3:42 [parisc-linux] removing warnings from math-emu code Randolph Chung
2003-08-12 15:14 ` Grant Grundler
2003-08-12 15:54   ` Joel Soete
2003-08-12 15:54   ` Joel Soete

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox