Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

13 lines
342 B
C

/* n_8.c: #error directive. */
/* 8.1: Argument of #error directive is not a subject of macro expansion.
Output to stderr as an example:
Preprocessing error directive: MACRO is not a positive number.
from line 10 of file "n_8.c"
*/
#define MACRO 0
#if MACRO <= 0
#error MACRO is not a positive number.
#endif