[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gperf: Compile issues with CVS GCC
From: |
Bruce Korb |
Subject: |
Re: gperf: Compile issues with CVS GCC |
Date: |
Sun, 01 Apr 2007 04:50:03 -0700 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20060911) |
Bruno Haible wrote:
> Thank you very much for reporting this. The link failure can already be
> observed
> with gperf's own testsuite:
> I'm applying this fix.
Thank you, Bruno!
Cheers - Bruce
> ***************
> *** 1884,1891 ****
> --- 1884,1897 ----
> {
> /* Output the function's head. */
> if (option[KRC] | option[C] | option[ANSIC])
> + /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
> + inline semantics, unless -fgnu89-inline is used. It defines a macro
> + __GNUC_STDC_INLINE__ to indicate this situation. */
> printf ("#ifdef __GNUC__\n"
> "__inline\n"
> + "#ifdef __GNUC_STDC_INLINE__\n"
> + "__attribute__ ((__gnu_inline__))\n"
> + "#endif\n"
> "#endif\n");
>
> printf ("%s%s\n",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: gperf: Compile issues with CVS GCC,
Bruce Korb <=