[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compile LUA for 16-bit target problems/bug
- From: Mouse <mouse@...>
- Date: Wed, 8 Mar 2023 09:18:54 -0500 (EST)
> What warnings did your sample code actually produce with
> -Wunused-value turned on?
I didn't try it. I (apparently foolishly) assumed the manapge
description was accurate - I just went looking for warning options
which were documented as doing something I thought was not appropriate
for routine use. (For example, -Wmissing-noreturn may be helpful when
trying to find __noreturn__ candidates, but I wouldn't consider it
suitable for routine use.)
I just now moved that program to the machine whose manpage I was
looking at. Apparently the manpage is wildly inaccurate;
-Wunused-value didn't produce even so much as a single warning. (This,
of course, makes me wonder what it _would_ warn about.)
This makes me doubt whether any of the other flags warn about what
they're described as warning about. At least a few flags (not in the
list I sent), ones I use routinely, do seem to do at least roughly what
they're described as doing, for what that's worth.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B