------- Comment #4 from pinskia at gcc dot gnu dot org 2006-07-08 13:56 ------- Reduced testcase: template<typename T> class relationMixin {}; enum domainCode{ binaryFP, control, decimalFP, logical, pointer, signedInt, unsignedInt, }; class pointer : public relationMixin< ::pointer> { }; ---------------------------------------
This is invalid code. By the way that enum comes from /home/ivan/ootbc/include/opAttr.hh. you can get the "correct" behavior by adding class in front of ::pointer. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28311