CLM fails to build with gcc 5.4.0 and 6.1.1:
make[2]: Entering directory '/home/opensaf/opensaf-staging/tests/clmsv' CC clmtest-tet_ClmLongRdn.o tet_ClmLongRdn.c: In function 'lock_node': tet_ClmLongRdn.c:203:2: error: ignoring return value of 'system', declared with attribute warn_unused_result [-Werror=unused-result] system(command); ^~~~~~~~~~~~~~~ tet_ClmLongRdn.c: In function 'unlock_node': tet_ClmLongRdn.c:195:2: error: ignoring return value of 'system', declared with attribute warn_unused_result [-Werror=unused-result] system(command); ^~~~~~~~~~~~~~~ tet_ClmLongRdn.c: In function 'remove_node': tet_ClmLongRdn.c:212:2: error: ignoring return value of 'system', declared with attribute warn_unused_result [-Werror=unused-result] system(command); ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Makefile:771: recipe for target 'clmtest-tet_ClmLongRdn.o' failed
Diff:
This problem was fixed in the context of ticket [#1906]
changeset: 7989:4d6caf6903cd
user: A V Mahesh ma..@..com
date: Tue Aug 30 11:05:31 2016 +0530
summary: clm: test code build fix [#1906]
[staging:4d6caf]
Related
Commit: [4d6caf]
Tickets:
#1906