[Bug c++/19950] error: incomplete type `Environment' used in nested name specifier

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 14 20:05:00 GMT 2005

------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-14 15:41 -------
This comes down to the following reduced testcase:
struct Logging {
  friend class Environment;
template<class T> struct ArrayCollection
  int insert(const T& theObj)

This is invalid as Environment::ReportError has to be looked up at parse time and not at instainated 

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


More information about the Gcc-bugs mailing list