qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7102] Fix OpenSolaris softfloat warnings
@ 2009-04-13 16:27 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-04-13 16:27 UTC (permalink / raw)
  To: qemu-devel

Revision: 7102
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7102
Author:   blueswir1
Date:     2009-04-13 16:27:08 +0000 (Mon, 13 Apr 2009)
Log Message:
-----------
Fix OpenSolaris softfloat warnings

Modified Paths:
--------------
    trunk/configure
    trunk/fpu/softfloat-native.c
    trunk/fpu/softfloat-native.h

Modified: trunk/configure
===================================================================
--- trunk/configure	2009-04-13 16:23:22 UTC (rev 7101)
+++ trunk/configure	2009-04-13 16:27:08 UTC (rev 7102)
@@ -306,6 +306,7 @@
         audio_drv_list="oss"
     fi
     audio_possible_drivers="oss sdl"
+    OS_CFLAGS=-std=gnu99
 ;;
 AIX)
 aix="yes"

Modified: trunk/fpu/softfloat-native.c
===================================================================
--- trunk/fpu/softfloat-native.c	2009-04-13 16:23:22 UTC (rev 7101)
+++ trunk/fpu/softfloat-native.c	2009-04-13 16:27:08 UTC (rev 7102)
@@ -2,6 +2,9 @@
    context is supported */
 #include "softfloat.h"
 #include <math.h>
+#if defined(HOST_SOLARIS)
+#include <fenv.h>
+#endif
 
 void set_float_rounding_mode(int val STATUS_PARAM)
 {

Modified: trunk/fpu/softfloat-native.h
===================================================================
--- trunk/fpu/softfloat-native.h	2009-04-13 16:23:22 UTC (rev 7101)
+++ trunk/fpu/softfloat-native.h	2009-04-13 16:27:08 UTC (rev 7102)
@@ -20,7 +20,7 @@
  *   are defined in <iso/math_c99.h> with a compiler directive
  */
 #if defined(HOST_SOLARIS) && (( HOST_SOLARIS <= 9 ) || ((HOST_SOLARIS >= 10) \
-                                                        && (__GNUC__ <= 4))) \
+                                                        && (__GNUC__ < 4))) \
     || (defined(__OpenBSD__) && (OpenBSD < 200811))
 /*
  * C99 7.12.3 classification macros

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-13 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-13 16:27 [Qemu-devel] [7102] Fix OpenSolaris softfloat warnings Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).