[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with inline functions in gsweb and clang
From: |
Sebastian Reitenbach |
Subject: |
Re: problem with inline functions in gsweb and clang |
Date: |
Mon, 27 May 2013 14:53:50 +0200 |
User-agent: |
SOGoMail 2.0.5a |
On Monday, May 27, 2013 14:00 CEST, David Chisnall
<David.Chisnall@cl.cam.ac.uk> wrote:
> On 27 May 2013, at 12:56, "Sebastian Reitenbach"
> <sebastia@l00-bugdead-prods.de> wrote:
>
> > When I remove the inline before that, then libWebObjects can resolve the
> > symbols. Since its compiled with -O0, I think the compiler should not
> > inline those functions?
>
> This looks like it's relying on gnu89 behaviour for inlines. Try adding
> -fgnu89-inline and see if that fixes it. If it does, add static in front of
> inline to fix the code.
The -fgnu89-inline helps indeed, and putting static in front of it, without
that flag too.
Many thanks,
Sebastian
>
> David
>