[Bug c++/28236] wrong "control reaches" warning with enums.

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 29 01:10:00 GMT 2007



------- Comment #9 from manu at gcc dot gnu dot org  2007-01-29 01:10 -------
Pawel, I don't want to appear rude but as you see from the answers in the ML,
control might reach the end of the function without an explicit return. Thus,
the warning is valid and I think we should close this as INVALID. Don't you
agree?


-- 


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



More information about the Gcc-bugs mailing list