Re: [PATCH 2/4] configure.ac: Explicitly enable subject-objects for automake 1.11

Uli Schlachter <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi,

On 10.07.2014 09:02, Bryce W. Harrington wrote:
[..]
> (I'm noticing a lot of misc. new warnings building with gcc 4.8,
> particularly with --enable-qt as g++ seems fussier about things.  But
> I've only given attention to a couple of the really noisy warnings so
> far).

Thanks for looking into this. Debian testing recently gave me a new GCC version 
and I've just been ignoring the fact that I can't build cairo any more. If only 
the day had more hours...

From

[...]
>    https://bugs.freedesktop.org/show_bug.cgi?id=69874

"Yeah.  And subdir-objects is broken for the way we have our build set up at the 
moment (libdricore built from a separate directory, on the same .c files as core)."

That's exactly what cairo is doing with cairo-time.c. Eric Anholt didn't say in 
his comment what exactly can go wrong, but I still think that we need to "hack 
this up differently" before we can go to subdir-objs.

[...]
> So yeah, looks like you're right.  I'll withdraw this patch.
[...]

Any ideas how we could fix things properly?
We could move all of cairo-time.c into cairo-time.h, but that seems like a hack.
We could create a libtool convenience library containing cairo-time.c and link 
it into both places that need it, but that seems like too much work for too 
little gain.
We could make the _cairo_time functions part of cairo's API, but obviously 
that's a bad idea.

Cheers,
Uli
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.