http://d.puremagic.com/issues/show_bug.cgi?id=3746



--- Comment #2 from Witold Baryluk <bary...@smp.if.uj.edu.pl> 2010-01-28 
12:12:00 PST ---
(In reply to comment #1)
> Well, obviously return *is* allowed from void functions (void f() { return; 
> }).
> But 'error: return statement with a value in a void function' would be a
> preferable message than talking about values having no effect in expressions.

Yes you are right. Error messages should be as precise as possible.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to