FreeBSD 10.0-CURRENT r244916M: 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};

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Wed, 02 Jan 2013 10:21:35 +0100
Current r244916M fails to compile a world with following error:


[...]
cc -O2 -pipe -O3 -march=native
-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-parentheses -c
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/main.c
cc -O2 -pipe -O3 -march=native
-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-parentheses -c
/usr/src/contrib/ofed/usr.bin/opensm/../../management/opensm/opensm/osm_console_io.c
cc -O2 -pipe -O3 -march=native
-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-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.
*** [all] Error code 1

Stop in /usr/src/contrib/ofed/usr.bin.
*** [all] Error code 1

Stop in /usr/src/contrib/ofed.
*** [contrib/ofed.all__D] Error code 1

Stop in /usr/src.
*** [everything] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.


Received on Wed Jan 02 2013 - 08:21:38 UTC

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