This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25986] return from funcrtion of void value allowed



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-01-27 03:12 -------
(In reply to comment #8)
> > Let's close this PR as we do not have place for trolls.
> I am basing my opinion on the very practical experience w/out any intent of
> trolling.

Please at least know that the C++ standard allows this. Also please remind
yourself that C++ is no longer C and that some rules are different in C++ than
in C.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]