[Scummvm-devel] Link errors in cruise and Graphics::FontTowns

Paul Gilbert paulfgilbert at gmail.com
Mon Jul 13 02:13:42 CEST 2009


On Mon, Jul 13, 2009 at 6:46 AM, Rainer M. Canavan <rainer at canavan.de>wrote:


> This problem has only crept up within the last
> 1 or 2 weeks, so I'm wondering what change could have triggered
> the bug, especially in Cruise, since I don't see why that's
> different from the other engines. The problem is really in  the
> compiler, since the .o file already declares those functions as
> missing.
>

On a side note, I only recently enabled the cruise engine by default in the
'configure' file, so it may have been that you weren't actually compiling it
in the past.

I'm no expert on templates, I'm afraid, but I think the only place where a
copy would be being used is in ctp.cpp(169):
    ct.slices.push_back(CtEntry(x1, x2));

I use the CtEntry class to conveniently hold a X min/max values for line
'slices' within a polygon. I suppose you could experiment with some kind of
alternate method fairly easily so your compiler can handle it properly.

Paul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090713/a3982ae5/attachment.html>


More information about the Scummvm-devel mailing list