[cfe-dev] Oddity in scan-build output

Sascha Wildner swildner at erpicon.de
Thu Nov 20 01:22:49 PST 2008


Hi,

I've noticed that occasionally the "x diagnostics generated" output is 
mixed into "ANALYZE: ..." lines in scan-build output, as in the 
following snippet:

ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_chn_remove
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_addchan
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_killchan
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_setstatus
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_getflag3 diagnostics generated.
s
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_setflags
ANALYZE: /home/s/projects/dailybuild/src/sys/dev/sound/pcm/sound.c 
pcm_getdevinfo

It doesn't happen too often. Of 2712 "x diagnostics generated" messages 
in my log, 321 are not at the beginning of the line. I haven't found any 
pattern, but it always seems to happen for the same files.

If there's any additional info I can provide, please tell me.

Regards,
Sascha



More information about the cfe-dev mailing list