[xslt] Mainly ATTRIBUTE_UNUSED
- From: Philip Ludlam <philip philipnet com>
- To: xslt gnome org
- Subject: [xslt] Mainly ATTRIBUTE_UNUSED
- Date: Thu, 20 Nov 2003 00:15:17 GMT
Dear All,
Two things:
1)
1.1.0 shipped with the file .#libxslt.def.src.1.7 inside the win32
directory.
2)
The ATTRIBUTE_UNUSED in the ...config.h(.in) files seems to be overly
long and slightly broken (if you don't have __GNUC__ defined but you do
have ATTRIBUTE_UNUSED defined). The attached patch should fix this.
Yours,
Phil L.
--
http://www.philipnet.com http://director.sourceforge.net
i ou a uea i e a o ie e a o a a oue oae
--- libxslt/libexslt/exsltconfig.h.in 2003-08-25 12:35:40.000000000 +0100
+++ libxslt-riscos/libexslt/exsltconfig.h.in 2003-11-20 00:00:18.000000000 +0000
@@ -43,10 +43,8 @@
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED
#endif
-#else
+#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
--- libxslt/libexslt/exsltconfig.h 2003-11-04 13:39:12.000000000 +0000
+++ libxslt-riscos/libexslt/exsltconfig.h 2003-11-20 00:00:34.000000000 +0000
@@ -43,10 +43,8 @@
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED
#endif
-#else
+#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
--- libxslt/libxslt/xsltconfig.h 2003-11-04 13:39:12.000000000 +0000
+++ libxslt-riscos/libxslt/xsltconfig.h 2003-11-19 23:59:02.000000000 +0000
@@ -104,10 +104,8 @@
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED
#endif
-#else
+#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
--- libxslt/libxslt/xsltconfig.h.in 2002-12-22 21:51:24.000000000 +0000
+++ libxslt-riscos/libxslt/xsltconfig.h.in 2003-11-19 23:59:40.000000000 +0000
@@ -104,10 +104,8 @@
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>
#endif
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED
#endif
-#else
+#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]