RAD Studio
ContentsIndex
PreviousUpNext
E2187: Unexpected end of file in conditional started on line 'number' (C++)

The source file ended before the compiler (or MAKE) encountered #endif

The #endif either was missing or misspelled. 

Every #if statement needs a matching #endif statement.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!