------- Comment #7 from rhaschke at techfak dot uni-bielefeld dot de  
2006-12-08 08:08 -------
You are right. The return type of STATE and the actual methods differ.
Actually they should have the same type, i.e.:

typedef BaseRobot::STATE (BaseRobot::*STATE)(int);
STATE ready (int);
...

Because the recursive type definition for STATE is not supported, I need the
detour using PseudoState.


-- 


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

Reply via email to