[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] Argp compilation failure with _GNU_SOURCE and optimizat
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] Argp compilation failure with _GNU_SOURCE and optimization |
Date: |
Sun, 05 Sep 2004 23:23:03 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Soeren D. Schulze" <address@hidden> writes:
> I do not know what went wrong -- I just got this error. Can you
> reproduce it?
No, but I don't have much context.
> I am not familiar enough with GCC to tell you what is wrong.
Perhaps if you ran this command:
gcc -E -O3 -D_GNU_SOURCE lib/argp-fmtstream.c
and looked at the output you might see what the __extension__ problem
is.
> I had checked the sources for obvious errors, but everything looked
> OK, so I reported this in the hope someone can figure out.
One thought is that some system file has #define'ed mempcpy before
mempcpy.h was included, to a set of tokens that includes __extension__.
Does it fix things if you insert this line at the start of mempcpy.h:
#ifndef mempcpy
and append this line to the end of that file?
#endif