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++/17644] unexpected symbol redefinition error


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 18:57 -------
The first example is valid because ::foo is explicantly named but the second is invalid.  Basically in C++ 
you have to "reparse" the struct again after finishing the struct  and the standard says that if the type is 
different than before it is an error.

-- 


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


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