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

Stephan Assmus superstippi at gmx.de
Thu Feb 11 15:22:16 PST 2010


Hi,

On 2010-02-11 at 23:50:49 [+0100], Julien Chaffraix 
<julien.chaffraix at gmail.com> wrote:
> > 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.

Yes exactly. Thanks for digging this up. I've added my findings to the ticket.

Best regards,
-Stephan


More information about the webkit-help mailing list