This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51028] [C++11] Alias-Declaration in namespace omits other whole code
- From: "flast at flast dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2011 09:46:57 +0000
- Subject: [Bug c++/51028] [C++11] Alias-Declaration in namespace omits other whole code
- Auto-submitted: auto-generated
- References: <bug-51028-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51028
Kohei Takahashi <flast at flast dot jp> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |flast at flast dot jp
--- Comment #2 from Kohei Takahashi <flast at flast dot jp> 2011-11-08 09:46:57 UTC ---
GCC does not omit. See followings,
$ \g++-devel -std=gnu++11 hoge.cpp -Wall
hoge.cpp: In function 'int {anonymous}::main()':
hoge.cpp:5:13: warning: no return statement in function returning non-void
[-Wreturn-type]
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status