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++/19948] [4.0/4.1 Regression] ICE: tree check: expected class 'declaration', have 'exceptional' (error_mark) in pushtag, at cp/name-lookup.c:4658


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-02-28 06:22 -------
If you want a work around, simply use this in the first 'friend'
declaration:

  friend class util::persistent_object_manager;

There is still uncertainty about whether name from 'using' 
declaration/directive is allowed (DR138) so your workaround 
may not work in the future.

-- 


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


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