<div dir="auto">Yeah, these are part of an effort to catch all warnings, but detection if some of those were supported is known to misfire. "Left be" so far as they allegedly help on some platforms, and induce breaks on none. <div dir="auto"><br></div><div dir="auto">But if someone makes the detection sturdier (and so less noise in builds) - kudos and karma await :)</div><div dir="auto"><br></div><div dir="auto">Jim</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 24, 2024, 22:57 William R. Elliot <<a href="mailto:bill@wreassoc.com">bill@wreassoc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
All,<br><br>
There is no need to reply to me on this but someone "in the
know" may want to look at why there are messages about
"unrecognized command-line" options when I am compiling my new
driver.<br><br>
[gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) ]<br><br>
Bill<br><br>
<font face="Courier New, Courier" size="3">
CC newdriver.o<br>
newdriver.c:210:13: warning: ‘GetData’ defined but not used
[-Wunused-function]<br>
210 | static void GetCUSPPData (const char* sReq, char* sD, const
size_t sDSize)<br>
|
^~~~~~~~~~~~<br>
cc1: note: unrecognized command-line option
‘-Wno-unknown-warning-option’ may have been intended to
silence earlier diagnostics<br>
cc1: note: unrecognized command-line option
‘-Wno-reserved-identifier’ may have been intended to silence
earlier diagnostics<br>
CCLD newdriver<br>
</font><div id="m_-5850746745074219508DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br><table style="border-top:1px solid rgb(211,212,222)"><tbody><tr><td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" rel="noreferrer"><img alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td><td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:rgb(68,83,234)" target="_blank" rel="noreferrer">www.avg.com</a></td></tr></tbody></table><a href="#m_-5850746745074219508_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" rel="noreferrer"> </a></div></div>
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><br>
</blockquote></div>