This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
test.h ------------------------- #ifndef TEST_H_ #define TEST_H_ #ifdef func #undef func #endif #define func(x) foo ## x #endif /* TEST_H_ */ main.cpp ------------------------- #include <cstdlib> #include "test.h" void func(1)() {} #undef func #define func(x) bar ## x void func(2)() {} #include "test.h" void func(3)() {} // ERROR in Macro Expansion - void bar3() {} int main() { return 0; }
I apologize for anxiety, but here my error. Please close this question.
(In reply to comment #1) > I apologize for anxiety, but here my error. Please close this question. Ok