Review request: ~200 build warning fixes to kdebase
Johannes Sixt
j.sixt at viscovery.net
Mon Jun 7 07:57:22 BST 2010
Am 6/5/2010 13:55, schrieb Rolf Eike Beer:
> If you want to get rid of the return value of a function (e.g. nice() in the
> first hunk) try
>
> (void) nice(...)
This does not work. The warnings are triggered by gcc's
__attribute__((warn_unused_result)). You cannot get rid of this warning by
casting the return value to void.
-- Hannes
--
"Atomic objects are neither active nor radioactive." --
Doc.No N3090 (Working Draft, Standard for Programming Language C++)
More information about the kde-core-devel
mailing list