This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25986] return from funcrtion of void value allowed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2006 03:12:40 -0000
- Subject: [Bug c++/25986] return from funcrtion of void value allowed
- References: <bug-25986-6649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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