[openib-general] Re: at won't compile with gcc-2.95
Roland Dreier
rolandd at cisco.com
Tue Sep 6 08:56:53 PDT 2005
Hal> Can you try the following patch with gcc 2.95 and let me know
Hal> if this works ?
No, that doesn't help. However adding a space before the last comma
and removing the space before the '...' does build with gcc 2.95.
- R.
Index: infiniband/core/at_priv.h
===================================================================
--- infiniband/core/at_priv.h (revision 3319)
+++ infiniband/core/at_priv.h (working copy)
@@ -137,9 +137,9 @@ static const struct ib_field ats_rec_tab
#define DEBUG(fmt, ...) while (0) {}
#define DEBUG_VAR(x, y...)
-#define WARN(fmt, arg ...) printk("ib_at: %s: " fmt "\n", __FUNCTION__, ## arg);
+#define WARN(fmt, arg...) printk("ib_at: %s: " fmt "\n", __FUNCTION__ , ## arg);
#define WARN_VAR(x, y...) x, ## y
-//#define DEBUG(fmt, arg ...) printk("ib_at: %s: " fmt "\n", __FUNCTION__, ## arg);
+//#define DEBUG(fmt, arg...) printk("ib_at: %s: " fmt "\n", __FUNCTION__ , ## arg);
//#define DEBUG_VAR(x, y...) x, ## y
static kmem_cache_t *route_req_cache = NULL;
More information about the general
mailing list