Hi all,
the attached patch removes the strict warnings for midi-dssi code, which
otherwise caused the build to error out on GNU/Linux. See bug #26756 for
details.
2006-11-26 Dalibor Topic <[EMAIL PROTECTED]>
Fixes bug #26756.
* native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
STRICT_WARNING_CFLAGS since it caused the build to fail
on GNU/Linux.
cheers,
dalibor topic
Index: native/jni/midi-dssi/Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/native/jni/midi-dssi/Makefile.am,v
retrieving revision 1.7
diff -u -r1.7 Makefile.am
--- native/jni/midi-dssi/Makefile.am 28 Jul 2006 23:37:11 -0000 1.7
+++ native/jni/midi-dssi/Makefile.am 26 Nov 2006 20:25:19 -0000
@@ -9,4 +9,7 @@
AM_LDFLAGS = @CLASSPATH_MODULE@
AM_CPPFLAGS = @CLASSPATH_INCLUDES@
-AM_CFLAGS = @WARNING_CFLAGS@ @STRICT_WARNING_CFLAGS@ @ERROR_CFLAGS@
+# No STRICT_WARNING_CFLAGS here as we use dlsym to load the address of
+# a function,and ISO C prohibits casting void pointers, like those returned
+# by dlsym, to function pointers.
+AM_CFLAGS = @WARNING_CFLAGS@ @ERROR_CFLAGS@