bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Solaris 10 SPARC with Oracle Studio 12.6 : WARNING: s


From: Chet Ramey
Subject: Re: [Bug-readline] Solaris 10 SPARC with Oracle Studio 12.6 : WARNING: stdbool.h: present but cannot be compiled
Date: Sun, 20 Jan 2019 15:36:40 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 1/19/19 10:27 PM, Dennis Clarke wrote:

>> No, there's a file named "config.log" that contains all the compiler and
>> other output from configure. It will tell you what happened when the
>> script tried to find stdbool.h.
> 
> Oh that thing. All 3900+ lines of it.

Well, it doesn't look like the Oracle compiler likes stdbool.h unless under
specific circumstances:

configure:4965: checking stdbool.h usability
configure:4965: /opt/developerstudio12.6/bin/cc -c -m64 -xarch=sparc -g -Xa
-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff
-xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc
-ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
-D_TS_ERRNO conftest.c >&5
"/usr/include/stdbool.h", line 42: #error: "Use of <stdbool.h> is valid
only in a c99 compilation environment."

That seems...limiting.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

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