[How to Solve] does not give a valid preprocessing token

#define VFUNC(self) ((##self##)->_vptr)

This will fail to compile under gcc, but not VC

does not give a valid preprocessing token

supposedly because of version problems

Solution: remove ##

define VFUNC(self) ((self)->_vptr)

 

Similar Posts: