[ofa-general] [PATCH] OpenSM: include/vendor/osm_vendor.h - Replaced #elif with no condition by #else

Nicolas Morey-Chaisemartin nicolas.morey-chaisemartin at ext.bull.net
Mon Apr 27 05:46:40 PDT 2009


Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---
OpenSM build fails on FC11 without this patch (I guess latest gcc considers this an error)

 opensm/include/vendor/osm_vendor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/include/vendor/osm_vendor.h b/opensm/include/vendor/osm_vendor.h
index 4d0ae4c..3cde781 100644
--- a/opensm/include/vendor/osm_vendor.h
+++ b/opensm/include/vendor/osm_vendor.h
@@ -65,7 +65,7 @@
 #include <vendor/osm_vendor_ibumad.h>
 #elif defined( OSM_VENDOR_INTF_AL )
 #include <vendor/osm_vendor_al.h>
-#elif
+#else
 #error No MAD Interface selected!
 #error Choose an interface in osm_config.h
 #endif
-- 
1.6.2.GIT




More information about the general mailing list