[webkit-help] __gnu_inline__ [was: Re: Changing Code in DerivedSources]

Julien Chaffraix julien.chaffraix at gmail.com
Thu Feb 11 14:50:49 PST 2010


Hi,

> With regards to the gperf generated source, there seems to be a problem
> with the use of "__gnu_inline__" in these files:
>
> ColorData.c
> CSSPropertyNames.cpp
> CSSValueKeywords.c
> DocTypeStrings.cpp
> HTMLEntityNames.c
>
> When building a debug build, GCC 4.3.3 on Haiku generates linker errors for
> the functions that are declared __gnu_inline__. I believe the GCC behavior
> is probable correct and the whole block for declaring those functions
> should be wrapped in "#ifdef NDEBUG ... #endif".
>
> I have grepped all the source tree and couldn't figure out how
> "__gnu_inline__" even ends up in those files. Perhaps it's gperf itself
> adding it? If so, how can it be tweaked to work correctly with debug builds?

I think you are experiencing this bug:
https://bugs.webkit.org/show_bug.cgi?id=29244

Feel free to add your comments to it or correct me on this one.

Regards,
Julien


More information about the webkit-help mailing list