This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41970] use of a type with no linkage to declare a variable with linkage
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2010 15:54:43 -0000
- Subject: [Bug c++/41970] use of a type with no linkage to declare a variable with linkage
- References: <bug-41970-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #20 from jason at gcc dot gnu dot org 2010-04-07 15:54 -------
Subject: Bug 41970
Author: jason
Date: Wed Apr 7 15:54:17 2010
New Revision: 158071
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158071
Log:
PR c++/41970
* decl.c (grokvardecl): Tweak warning message.
(grokfndecl): Likewise.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.old-deja/g++.other/linkage1.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41970