Alexandre Oliva <[EMAIL PROTECTED]> writes:
| On Mar 13, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
|
| > I've heard some CPP will choke on #error, even in
| > #if 0
| > # error
| > #endif.
|
| Correct.  K&R C didn't have `#error', and K&R preprocessors will choke
| on it.
|
| > Also, I don't think it is portable to let the `#' be at a different
| > column than the first.
|
| Yep.  That's the work-around for `#error' to work with K&R
| preprocessors: just insert whitespace before it.  But using `Choke
| me.' is better practice for autoconf.

FYI, even indented, `#error' is not portable.
SunOS 4.1.4 cc rejects it.

Reply via email to