Infiniband OFED CLANG failing

From: Outback Dingo <outbackdingo_at_gmail.com>
Date: Sun, 28 Apr 2013 08:52:43 -0400
svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.freebsd.org/base/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 250012
Node Kind: directory
Schedule: normal
Last Changed Author: eadler
Last Changed Rev: 250012
Last Changed Date: 2013-04-28 02:23:39 +0000 (Sun, 28 Apr 2013)


cc -O2 -pipe
 -I/usr/src/contrib/ofed/usr.bin/opensm/../../include/infiniband
-I/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/include/
-pthread -DVENDOR_RMPP_SUPPORT -DDUAL_SIDED_RMPP
-I/usr/src/contrib/ofed/usr.bin/opensm/../../include/infiniband
-I/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/include/
-std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Wno-parentheses -c
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/osm_console.c
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/osm_console.c:70:1:
error: use of GNU old-style field designator extension
[-Werror,-Wgnu-designator]
on: 0, delay_s: 2, loop_function:NULL};
^~~
.on =
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/osm_console.c:70:8:
error: use of GNU old-style field designator extension
[-Werror,-Wgnu-designator]
on: 0, delay_s: 2, loop_function:NULL};
       ^~~~~~~~
       .delay_s =
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/osm_console.c:70:20:
error: use of GNU old-style field designator extension
[-Werror,-Wgnu-designator]
on: 0, delay_s: 2, loop_function:NULL};
                   ^~~~~~~~~~~~~~
                   .loop_function =
3 errors generated.
*** [osm_console.o] Error code 1

Stop in /usr/src/contrib/ofed/usr.bin/opensm.
Received on Sun Apr 28 2013 - 10:52:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC