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.

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaranį
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to