[Scummvm-devel] Location of error(), warning() and co.

Max Horn max at quendi.de
Sat Sep 9 02:53:35 CEST 2006


Am 08.09.2006 um 14:14 schrieb Ori Avtalion:

> Hey,
>
> I noticed that error() is declared in common/util.h but defined in
> base/engine.cpp - a different module altogether.
>
> Is this on purpose?

Yes. It's a hack to work around silly linker semantics.


Bye,
Max





More information about the Scummvm-devel mailing list