This shows you the differences between two versions of the page.
c:preprocessor:error [2013/10/23 16:12] Awad A. Bekhet [description of error] |
c:preprocessor:error [2024/02/16 01:06] (current) |
||
---|---|---|---|
Line 41: | Line 41: | ||
===== output of error c example ===== | ===== output of error c example ===== | ||
- | If __"PASS_COMPILER"__ is __not defined__ in program, Then __compilation terminates__ with Error Message as shown: | + | In first program: |
+ | No output, because __"PASS_COMPILER"__ is __not defined__ in program, so __compilation terminates__ with Error Message as shown: | ||
<fc #FF0000>//"\main.c|4|error: #error Syntax to Pass this stage is required !|"//</fc> | <fc #FF0000>//"\main.c|4|error: #error Syntax to Pass this stage is required !|"//</fc> | ||
+ | |||
+ | In the Second program: | ||
+ | Output will be: | ||
+ | <code> | ||
+ | code-reference.com/c | ||
+ | </code> |