[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <stdint.h> on IRIX (was Re: [Cvs-test-results] CVS trunk testing

From: Derek R. Price
Subject: Re: <stdint.h> on IRIX (was Re: [Cvs-test-results] CVS trunk testing
Date: Wed, 19 Apr 2006 23:36:39 -0400
User-agent: Thunderbird 1.5 (X11/20060313)

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;


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]