On Fri, Dec 21, 2012 at 8:26 AM, Dominique Dhumieres <domi...@lps.ens.fr> wrote:
> I think revision 194665 breaks bootstrap on at least x86_64-apple-darwin10:
>
> g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables 
> -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual 
> -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros 
> -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild 
> -I../../_clean/gcc -I../../_clean/gcc/build -I../../_clean/gcc/../include 
> -I./../intl -I../../_clean/gcc/../libcpp/include -I/opt/mp/include  
> -I../../_clean/gcc/../libdecnumber -I../../_clean/gcc/../libdecnumber/dpd 
> -I../libdecnumber -I../../_clean/gcc/../libbacktrace -DCLOOG_INT_GMP  
> -I/opt/mp/include  \
>                 -o build/genconstants.o ../../_clean/gcc/genconstants.c
> In file included from ./bconfig.h:3:0,
>                  from ../../_clean/gcc/genconstants.c:28:
> ./auto-host.h:1994:16: error: declaration does not declare anything 
> [-fpermissive]
>  #define rlim_t long

That doesn't make much sense.  What do the lines around this look like?

> In file included from ../../_clean/gcc/genconstants.c:29:0:
> ../../_clean/gcc/system.h:502:34: error: declaration of C function 'const 
> char* strsignal(int)' conflicts with
>  extern const char *strsignal (int);
>                                   ^
> In file included from /opt/gcc/gcc4.8a/include/c++/4.8.0/cstring:44:0,
>                  from ../../_clean/gcc/system.h:207,
>                  from ../../_clean/gcc/genconstants.c:29:
> /usr/include/string.h:136:7: error: previous declaration 'char* 
> strsignal(int)' here
>  char *strsignal(int sig);
>        ^

In auto-host.h, what are the values of HAVE_STRSIGNAL and HAVE_DECL_STRSIGNAL?

Ian

Reply via email to