Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
#ifdef expected an identifier#ifndef expected an identifier
Remarks
The conditional compilation directive (#ifdef or #ifndef) has no identifier to evaluate. To resolve the error, specify an identifier.
Example
The following example generates C1016:
// C1016.cpp
#ifdef // C1016
#define FC1016
#endif
int main() {}
Possible resolution:
// C1016b.cpp
#ifdef X
#define FC1016
#endif
int main() {}