public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13544] New: [3.3.3 regression] "conflicting types" for enums in different scopes
@ 2004-01-02 11:23 debian-gcc at lists dot debian dot org
  2004-01-02 13:28 ` [Bug c++/13544] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-01-02 11:23 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/225663]

this regression was introduced between 20031206 and 20031229 on the 3.3 branch.

the following example

enum Enum1
{
    None
};

namespace Test
{
    enum Enum2
    {
        None
    };
}

int main()
{
}
 
compiles withtest.cpp:11: error: conflicting types for `None'
test.cpp:4: error: previous declaration as `Enum1 None'

-- 
           Summary: [3.3.3 regression] "conflicting types" for enums in
                    different scopes
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-01-11 13:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-02 11:23 [Bug c++/13544] New: [3.3.3 regression] "conflicting types" for enums in different scopes debian-gcc at lists dot debian dot org
2004-01-02 13:28 ` [Bug c++/13544] " pinskia at gcc dot gnu dot org
2004-01-02 13:42 ` pinskia at gcc dot gnu dot org
2004-01-02 15:12 ` pinskia at gcc dot gnu dot org
2004-01-08 15:52 ` falk at debian dot org
2004-01-08 21:44 ` neroden at gcc dot gnu dot org
2004-01-09  4:28 ` gdr at integrable-solutions dot net
2004-01-10 16:57 ` rschiele at uni-mannheim dot de
2004-01-10 17:33 ` gdr at gcc dot gnu dot org
2004-01-11  0:56 ` gdr at gcc dot gnu dot org
2004-01-11  0:56 ` cvs-commit at gcc dot gnu dot org
2004-01-11 13:04 ` andreas dot meier_ at gmx dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).