[LU-6242] some version of gcc fails to compile liblustre_util.c Created: 12/Feb/15  Updated: 13/Feb/15  Resolved: 13/Feb/15

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: Jian Yu
Resolution: Duplicate Votes: 0
Labels: patch
Environment:

gcc with attribute warn_unused_result set.


Issue Links:
Duplicate
duplicates LU-6081 hsm: add file migrate support Open
Severity: 3
Rank (Obsolete): 17482

 Description   

One of my build boxes has gcc set warn_ununsed_result set. This causes liblustre_util.c to fail to build since read() return value is ignored.



 Comments   
Comment by Gerrit Updater [ 12/Feb/15 ]

James Simmons (uja.ornl@gmail.com) uploaded a new patch: http://review.whamcloud.com/13752
Subject: LU-6242 utils: avoid gcc build errors for liblustre_util.c
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 11f190b8efb10a90c5f1e005d6025f26f65f1723

Comment by Jian Yu [ 13/Feb/15 ]

Hi James,
The patch http://review.whamcloud.com/13654 (ready to land) from Frank fixed the same issue. May I close this ticket and mark it to be resolved in LU-6081 ?

Comment by James A Simmons [ 13/Feb/15 ]

Yes please mark it as a duplicate. Thank you.

Comment by Jian Yu [ 13/Feb/15 ]

The issue is resolved in LU-6081.

Generated at Sat Feb 10 01:58:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.