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.
But if someone makes the detection sturdier (and so less noise in builds) -
kudos and karma await :)
Jim
On Thu, Oct 24, 2024, 22:57 William R. Elliot <bill at wreassoc.com>
wrote:
> All,
>
> 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.
>
> [gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4) ]
>
> Bill
>
> CC newdriver.o
> newdriver.c:210:13: warning: ?GetData? defined but not used
> [-Wunused-function]
> 210 | static void GetCUSPPData (const char* sReq, char* sD, const size_t
> sDSize)
> | ^~~~~~~~~~~~
> cc1: note: unrecognized command-line option ?-Wno-unknown-warning-option?
> may have been intended to silence earlier diagnostics
> cc1: note: unrecognized command-line option ?-Wno-reserved-identifier? may
> have been intended to silence earlier diagnostics
> CCLD newdriver
>
>
>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Virus-free.www.avg.com
>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_-5850746745074219508_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20241025/219e5789/attachment.htm>