Compiler Error 40

Table of Contents

  1. expected an identifier

expected an identifier

This error is raised if preprocessor statements are incorrectly formatted.

For example if the identifier which immediately should follow a preprocessor command is missing, e.g. Missing identifier after #define, results in:

Error:  #40: expected an identifier

This also warns about future compatibility with C++. Example:

int *new(void *p) { return p; }

because "new" is a keyword in C++.


All wikipages