cvs-dev
[Top][All Lists]
Advanced

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

Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.


From: Derek R. Price
Subject: Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.
Date: Sun, 11 Jun 2006 11:06:58 -0400
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

The current test that checks for the existence of <stdint.h> isn't
sufficient on SGI when using the compiler in (its default?) C89 mode,
because the SGI compiler doesn't have fatal #error directives:

Larry Jones wrote:
> Well, it appears that it is compiling now, but only by accident.
> The problem, which Derek and I discussed a while ago but never resolved,
> is that SGI provides a <stdint.h> that only works in C99 mode, but
> configure doesn't detect that because the SGI compiler doesn't consider
> a #error directive as fatal, it just issues a warning and continues,
> leading to lots of compile warnings like:
>
> source='/u/scjones/cvs-nightly/src/add.c' object='add.o' libtool=no \
> DEPDIR=.deps depmode=sgi /bin/sh /u/scjones/cvs-nightly/build-aux/depcomp \
> cc -mips3 -DHAVE_CONFIG_H -I. -I/u/scjones/cvs-nightly/src -I.. 
-I/u/scjones/cvs-nightly/lib -I../lib -I/u/scjones/cvs-nightly/diff
-I/u/scjones/cvs-nightly/zlib -Ino/include  -g -c
/u/scjones/cvs-nightly/src/add.c
> cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5
>   #error directive:  This header file is to be used only for c99 mode
>           compilations
>
>   #error This header file is to be used only for c99 mode compilations
>    ^

Regards,

Derek

- --
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjDGRLD1OTBfyMaQRAuQ9AJ9nHsGFv5zoXW6KVW7EVMRIapWlXQCfTlWb
FUeqBgZU4/HgMdrJFbqJQPA=
=pl+x
-----END PGP SIGNATURE-----






reply via email to

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