Compiler Error C2007
#define syntax
No identifier appears after a #define
. To resolve the error, use an identifier.
The following sample generates C2007:
// C2007.cpp
#define // C2007
Possible resolution:
// C2007b.cpp
// compile with: /c
#define true 1
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for