bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] qsort_r: new module, for GNU-style qsort_r


From: Tom G. Christensen
Subject: Re: [PATCH] qsort_r: new module, for GNU-style qsort_r
Date: Tue, 16 Sep 2014 17:56:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0

On 15/09/14 18:00, Paul Eggert wrote:
On 09/15/2014 07:11 AM, Pádraig Brady wrote:
Did you forget to git add m4/qsort_r.m4 ?

Oops, yes I did.  Thanks for catching that.  I added it as per attached.


The daily build failed on my Solaris 9 host:

gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I/usr/tgcware/include -D_REENTRANT -fvisibility=hidden -g -O2 -MT qsort.o -MD -MP -MF $depbase.Tpo -c -o qsort.o qsort.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./stdlib.h:96:0,
                 from qsort.c:24:
./unistd.h:135:3: error: #error "Please include config.h first."
  #error "Please include config.h first."
   ^
In file included from /usr/include/sys/time.h:419:0,
                 from ./sys/time.h:39,
                 from /usr/include/sys/select.h:20,
                 from ./sys/select.h:36,
from /usr/tgcware/lib/gcc/i386-pc-solaris2.9/4.9.1/include-fixed/sys/types.h:588,
                 from ./sys/types.h:28,
                 from /usr/include/sys/wait.h:20,
                 from ./sys/wait.h:28,
                 from ./stdlib.h:46,
                 from qsort.c:24:
./unistd.h:567:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
 _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1)));
 ^
./stdlib.h:455:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
 _GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status));
 ^
make[4]: *** [qsort.o] Error 1


-tgc



reply via email to

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