9fans archive / 1995 / 01 / 10 /    prev next

From: Paul DuBois dubois@pri...
Subject: preprocessing
Date: Sat, 14 Jan 1995 10:19:19 -0500

>	failed.c:7 syntax in macro expansion: x
>
>I don't understand why you keep beating on this.
>The documentation states clearly that the C compilers
>do not honor ANSI's standard for preprocessing.
>It also says that if you want a real preprocessor,
>use cpp, which is provided.

The example file doesn't even pass through 2 of the "real"
(although pre-ANSI) cpp's on my 3 UNIX boxes.  "argument
mismatch" due to defining x(arg) as a macro and then later
using x as a variable name.

Paul DuBois
dubois@pri...