Larry Jones wrote:

> I'm thinking it would be better to declare the file unusable and use a
> replacement rather than forcing C99 mode -- language level should be up
> to the user.  I think the right thing to do is enhance the generic
> compile/preprocess tests to grep the output for "#error" and fail if
> it's found (since it *is* an error, whether the compiler/preprocessor
> considers it fatal or not).

Rather than grepping the output (that would be rather hard given my
understanding of the currently available autoconf macros), could you
come up with a short program that would compile on platforms with
<stdint.h> but not under this IRIX compiler in c89 mode?  Something like:

    #include <stdint.h>
    uint8_t x = (uint8_t) -1;

Thanks,

Derek
-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 248.835.1260
f: +1 248.835.1263
<[EMAIL PROTECTED]>


_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to