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.
- Standard macro for OpenGL check? Braden N. McDaniel
- Re: Standard macro for OpenGL check? Morten Eriksen
- Re: Standard macro for OpenGL check? Matthew D. Langston
- Re: Standard macro for OpenGL check? Braden N. McDaniel
- Re: Standard macro for OpenGL check? Matthew D. Langston
- Re: Standard macro for OpenGL check? Braden N. McDaniel
- Re: Standard macro for OpenGL check? Morten Eriksen
- Re: Standard macro for OpenGL check? Morten Eriksen
- Re: Standard macro for OpenGL check? Akim Demaille
- Re: Standard macro for OpenGL check? Alexandre Oliva
- Re: Standard macro for OpenGL ch... Jim Meyering
- Re: Standard macro for OpenG... Harlan Stenn
- Re: Standard macro for OpenG... Paul Eggert
- Re: Standard macro for O... Jim Meyering
- Re: Standard macro for O... Russ Allbery
- Re: Standard macro for O... Paul Eggert
- Re: Standard macro for O... Akim Demaille
- Re: Standard macro for OpenGL check? Morten Eriksen
- Re: Standard macro for OpenGL ch... Akim Demaille
- Re: Standard macro for OpenG... Akim Demaille
- Re: Standard macro for OpenGL check? T.E.Dickey