------- Comment #3 from david at rothlis dot net  2010-04-30 06:05 -------
> a function with a missing return is valid

I just can't reconcile that with the following line from the C++ standard: "It
is now invalid to return (explicitly or implicitly) from a function which is
declared to return a value without actually returning a value."  Any insights?

Thanks for the "-Werror=return-type" tip.


-- 


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

Reply via email to