It seems there is a bug filed against llvm one year ago. https://llvm.org/bugs/show_bug.cgi?id=19778
And the workaround provided in that bug entry is the same as the patch Tomasz proposed. On Fri, May 15, 2015 at 2:57 PM, Emil Velikov <[email protected]> wrote: > On 15/05/15 20:25, Brian Paul wrote: >> Has the patch also been tested with gcc? >> >> If these are now extern declarations, where's the actual definition of >> the symbols? >> >> The reason patches like this sit around for a while is because few >> people understand the ramifications or potential side effects and are >> hesitant to give an R-b. >> > There are a couple of extra bits: > 1) Reportedly it doesn't work with static glapi [1] > 2) Why does llvm/clang apply the C11 text [2] when compiling mesa ? > Currently we explicitly set/use -std=c99 :-\ > > If someone can clear those up that'll be appreciated. > > Thanks > Emil > > [1] http://lists.freedesktop.org/archives/mesa-dev/2015-March/079326.html > [2] https://llvm.org/bugs/show_bug.cgi?id=19778#c3 > _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
