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++/41970] use of a type with no linkage to declare a variable with linkage



------- Comment #17 from jason at gcc dot gnu dot org  2010-01-20 23:32 -------
We accept this testcase with a warning because it is both common and harmless.

In 4.5, this testcase will be accepted with no warning in -std=c++0x mode, as
we now implement DR 757.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-01-11 18:52:09         |2010-01-20 23:32:16
               date|                            |


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


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