[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 08, 2014 at 07:52:02PM +0100, Toralf Förster wrote:
 > heise.de reported about a security flaw in xorg-server found by cppcheck - so I just gave it a try.
 > 
 > It reports :
 > 
 > ~/devel/trinity $ cppcheck ./ --force --quiet
 > [devices.c:90]: (warning) %a in format string (no. 2) requires 'float *' but the argument type is 'char * *'.
 > 
 > 
 > Is it correct ?
 
no. Looks like it doesn't understand the gnu %as extension, and thinks it's %a followed by 's'.

That extension isn't C99, but given portability isn't really a goal for trinity, I'm
not overly bothered by it.

	Dave

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux