#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:
- This paper solves the problem that the program published by QT prompts “unable to locate the program input point k32getmodulefilenameexa on the dynamic link library Kernel32. DLL” in XP environment
- [Solved] {“error_code”:110,”error_msg”:”Access token invalid or no longer valid”}
- Linux: Environment Variables C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, CPATH Common Error [How to Solve]
- [Solved] Undefined reference_G++ _GLIBCXX_USE_CXX11_ ABI compilation error: STD:: Basic_String and STD::__cxx11::basic_String cannot match
- What is the reason why the easygbs client calls token and reports an error “refer to set unsafe header” cookie “
- Warning: The serializable class * does not declare a static final serialVersionUID
- [How to Solve] expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__
- [Solved] Shell Error: syntax error: invalid arithmetic operator (error token is “
- [Solved] VS error C4996: ‘scanf’: This function or variable may be unsafe.
- [Solved] undefined reference to `cv::imread(std::string const&, int)’