[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with inline functions in gsweb and clang
From: |
David Chisnall |
Subject: |
Re: problem with inline functions in gsweb and clang |
Date: |
Mon, 27 May 2013 13:00:34 +0100 |
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.
David