This site hosted by Free.ProHosting.com
Google

Preprocessors: #error

Applies To: C++Builder 1 or higher
Category: C++ Language

The #error directive stops the program's compilation and prints an error message:
 
#error This is an error
 
It is usually used with conditional statements and for debugging:
 
#define VALUE 100
 
#ifndef VALUE
    #error VALUE is not defined
#endif

C++Builder Developer's Network
Copyright © Yoto Yotov