[Bug c++/30734] name conflict between class and namespace name is not recognized

2008-07-31 Thread paolo dot carlini at oracle dot com


--- Comment #6 from paolo dot carlini at oracle dot com  2008-07-31 08:39 
---
*** Bug 36709 has been marked as a duplicate of this bug. ***


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 CC||rquabili at princeton dot
   ||edu


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-12-26 Thread reichelt at gcc dot gnu dot org


--- Comment #5 from reichelt at gcc dot gnu dot org  2007-12-26 19:40 
---
*** Bug 33287 has been marked as a duplicate of this bug. ***


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ilgb at livius dot net


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-05-27 Thread reichelt at gcc dot gnu dot org


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.0


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-05-22 Thread aaw at gcc dot gnu dot org


--- Comment #3 from aaw at gcc dot gnu dot org  2007-05-23 01:16 ---
Resolved by r124960 (cf.
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01182.html).


-- 

aaw at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-05-22 Thread aaw at gcc dot gnu dot org


--- Comment #4 from aaw at gcc dot gnu dot org  2007-05-23 01:19 ---
*** Bug 2708 has been marked as a duplicate of this bug. ***


-- 

aaw at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jungman at lanl dot gov


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-04-04 Thread fang at csl dot cornell dot edu


--- Comment #2 from fang at csl dot cornell dot edu  2007-04-05 06:11 
---
PR 2708 dup?


-- 


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-02-08 Thread gdr at cs dot tamu dot edu


--- Comment #1 from gdr at cs dot tamu dot edu  2007-02-08 10:16 ---
Subject: Re:   New: name conflict between class and namespace name is not
recognized

ulrich dot lauther at siemens dot com [EMAIL PROTECTED] writes:

| 1  namespace Foo {
|2  };
|3  
|4  class Foo {
|5  };
|6  
|7  int main() {
|8class Foo1 : public Foo {
|9};
|   10Foo1 my_Foo1; 
|   11Foo my_foo;
|   12return 0;
|   13  }
|   14  
|   15  
| Foo.C: In function 'int main()':
| Foo.C:11: error: expected primary-expression before 'my_foo'
| Foo.C:11: error: expected `;' before 'my_foo'
| 
| on line 8 and 10, Foo is understod asa class name, on line 11 as a
namespace
| Without line 11, no error message at all

Line 4 is invalid; the front-end should have issued a diagnostic there.

-- Gaby


-- 


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



[Bug c++/30734] name conflict between class and namespace name is not recognized

2007-02-08 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  GCC build triplet|686-pc-linux-gnu|
   GCC host triplet|i686-pc-linux-gnu   |
 GCC target triplet|686-pc-linux-gnu|
   Keywords||accepts-invalid
  Known to fail||4.3.0
   Last reconfirmed|-00-00 00:00:00 |2007-02-08 10:46:10
   date||


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