cvs commit: src/sys/dev/sound/pcm channel.c

Alexander Leidinger Alexander at Leidinger.net
Thu Nov 17 13:51:45 GMT 2005


Stefan Farfeleder <stefanf at FreeBSD.org> wrote:

> On Tue, Nov 15, 2005 at 08:23:06PM +0800, Ariff Abdullah wrote:
>> On Tue, 15 Nov 2005 09:58:52 +0000 (GMT)
>> Robert Watson <rwatson at FreeBSD.org> wrote:

>> > Probably a combination of -Wall and -Werror, which generally
>> > generates a  warning along the following lines:
>> >
>> >      warning: suggest parentheses around comparison in operand of &
>> >
>> That means, warnings caused by excessive inlining while compiling
>> maestro.c should also break the build if WARNS=1, right? Has anybody
>> encounter and getting annoyed by this?
>
> No, function inlining doesn't change the semantics of expressions.

So -Wall and -Werror doesn' result in issuing an error for each warning but
instead in an error for warnings, which are issued because the code in
question may change the semantic depending on the change which needs to be
done to get rid of the warning?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
BOFH excuse #173:

Recursive traversal of loopback mount points




More information about the cvs-src mailing list