http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766

--- Comment #2 from Fredrik Hederstierna 
<fredrik.hederstie...@securitas-direct.com> 2010-12-02 14:42:35 UTC ---
Ok, but also f1() declares that it does not return any parameters, still it can
return (void)0;

I'm not saying either is wrong, I just though it should be consistent.

If its ok to _return_ (void) from a function, why is it not ok to have (void)
as _inparameter_ to a function. Where is the logical difference?

/Fredrik

Reply via email to