On Sun, Oct 03, 2010 at 05:21:15PM +0200, Dimitry Andric wrote:
> On 2010-10-03 15:41, Derek Tattersall wrote:
> >In updating gnash to 8.8 the build failed while linking with libvgl.so.  My
> >current system was built last week, with both kernel and world built
> >with clang.  The linkage failure was due to an inlined function,
> >"set4pixels" which is only referred to, as far as I can tell, within the
> >source file simple.c which contains the function definition.
> 
> The problem is that set4pixels() and another function set2lines() are
> defined as 'inline' functions in simple.c, but it is compiled with
> -std=gnu99.  This means that these definitions cannot be called from
> another object file.
> 
> So, either libvgl should be compiled with -std=gnu89, or somebody who
> knows about libvgl's "official" API should decide whether these
> functions must be externally accessible or not.  Since libvgl looks very
> old (it was imported 8 years ago, and the last functional change was 6
> years ago), the former is probably the easiest fix.

we compile world with -std=gnu99 even with gcc, why isnt this problem 
with gcc?
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to