|
From: | Fred Wright |
Subject: | Re: [gpsd-dev] Unused result |
Date: | Fri, 14 Jun 2019 18:17:41 -0700 (PDT) |
User-agent: | Alpine 2.21 (LRH 202 2017-01-01) |
On Fri, 14 Jun 2019, Gary E. Miller wrote:
Good grief: ppsthread.c: In function 'get_edge_tiocmiwait': ppsthread.c:468:2: warning: ignoring return value of 'strerror_r', declared with attribute warn_unused_result [-Wunused-result] (void)strerror_r(errno, errbuf, sizeof(errbuf)); ^ Anyone have an idea how to shut up that compiler? None of mine do that...
Wasn't there a similar issue somewhere in NTPsec, where the void cast wasn't enough to get rid of the warning?
Fred Wright
[Prev in Thread] | Current Thread | [Next in Thread] |