Guide to the Miracle C Compiler

Understanding Common Error Messages

 
Error Message
Possible explanation
Error Example
#include stdio.h ignored--file not found. Incorrect path information. Make sure the 'include path' and 'base path' in the Options>Compiler menu accurately reflect the location of your compiler . (none--path-related error)
function not declared '("Hello World")' Missing header file (such as <stdio.h>).
void main( )
 { 
 	printf("Hello, world.");
 }
parse error (a), expecting `','' or `SEP' '("Hello World") }' Missing semicolon at the end of a statement.
#include  
 void main( )
 { 
 printf("Hello, world.")
 }
parse error (a), expecting `'}'' '' Missing bracket '}' at the end of a function.
#include 
 void main( )
 { 
 	printf("Hello, world.");
parse error (a), expecting `')'' or `','' '("Hello World"' Missing close parenthesis ')' at the end of a statement.
#include 
 void main( )
 { 
 	printf("Hello, world.";
 {
parse error (a), expecting `SEP' '{ printf("Hello World") Mistaken semicolon placed before the statements attached to a function.
#include 
 void main( );
 { 
 	printf("Hello, world.");
 {
variable 'Hello' not found '(Hello, world)' Missing quotation marks around a string constant.
#include 
 void main( )
 { 
 	printf(Hello, world);
 {
variable 'var' not found Variable used without being declared.
#include  
 void main( )
 { 
 	i=1;
 printf("Hello, world. %i", i)
 }
parse error (a), expecting `')'' or `','' '("Hello World)' Missing close quotes at the end of a string constant.
#include 
 void main( )
 { 
 	printf("Hello, world);
 {