g++ error analysis error: unterminated #ifndef error: unterminated #ifndef The inspection revealed that the file was started with #ifndef and was missing #endif