[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43569] [PATCH] fix compile warnings with gcc 4.6.3
From: |
G. Branden Robinson |
Subject: |
[bug #43569] [PATCH] fix compile warnings with gcc 4.6.3 |
Date: |
Sat, 5 Mar 2022 19:01:57 -0500 (EST) |
Update of bug #43569 (project groff):
Status: Need Info => In Progress
Assigned to: None => gbranden
Summary: Fix for compile warnings with gcc 4.6.3 => [PATCH]
fix compile warnings with gcc 4.6.3
_______________________________________________________
Follow-up Comment #10:
> for src/preproc/pic/pic.ypp
> ignoring return value of 'int system(const char*)' declared with
attribute 'warn_unused_result' [-Wunused-result]
This one's fixed now, too.
commit caa10102c9f4333a471a7a1779319e5b18dcce52
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Feb 24 02:01:19 2022 +1100
[pic]: Fix "unused result" compiler warning.
* src/preproc/pic/pic.ypp (placeless_element) <SH>: Check return value
of `system()` to quieten `-Wunused-result` warning; if it is less than
zero, report it to the standard error stream.
Also bump copyright year and add editor aid comments.
I ended up doing most of these--I guess I'll look at the rest. I already beat
on hdb.cpp some last year.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?43569>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #43569] [PATCH] fix compile warnings with gcc 4.6.3,
G. Branden Robinson <=