bug-gnulib
[Top][All Lists]
Advanced

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

Re: [CFT] sed prerelease on alpha.gnu.org


From: Matthew Woehlke
Subject: Re: [CFT] sed prerelease on alpha.gnu.org
Date: Wed, 29 Apr 2009 11:26:02 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0

Matthew Woehlke wrote:
For now I'm just going to use 'CC="cc -qlanglvl=stdc99"'.

...which also fails (different problem):
source='regex.c' object='regex.o' libtool=no \
        DEPDIR=.deps depmode=aix /bin/sh ../build-aux/depcomp \
        cc -qlanglvl=stdc99 -DHAVE_CONFIG_H -I. -I..  -I../lib -I.. \
           -I../lib -I/prefix/include  -I/prefix/include -c regex.c
"./regex.h", line 664.55: 1506-046 (S) Syntax error.
"./regex.h", line 665.33: 1506-046 (S) Syntax error.
"regexec.c", line 230.37: 1506-046 (S) Syntax error.
"regexec.c", line 231.9: 1506-045 (S) Undeclared identifier eflags.
"regexec.c", line 226.1: 1506-273 (I) Missing type in declaration of eflags.
"regexec.c", line 226.1: 1506-343 (S) Redeclaration of rpl_regexec differs from previous declaration on line 662 of "./regex.h". "regexec.c", line 226.1: 1506-376 (I) Redeclaration of rpl_regexec has a different number of fixed parameters than the previous declaration.
"regexec.c", line 249.7: 1506-045 (S) Undeclared identifier start.
"regexec.c", line 250.7: 1506-045 (S) Undeclared identifier length.
"regexec.c", line 253.3: 1506-046 (S) Syntax error.

It seems "C for AIX Compiler, Version 6" doesn't like "restrict" (at least not in the form 'array[restrict]').

However, it seems said compiler also has no stdbool.h, and so the (broken) replacement header is still used, ergo the original problem is not solved.

I finally did this (in stdbool.h):
107 #  if defined _AIX
108 #   define _Bool int
109 #  else
110 #   define _Bool signed char
111 #  endif

...at which point, the build finishes and the test suit passes (with the expected XFAIL's).

--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
This is not a sig. I am too lazy to steal one, perhaps you could loan me yours? -- Unknown





reply via email to

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