[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
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 28 15:05:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list