[Scummvm-devel] Build of ScummVM 0.8.2 on Solaris 10 x86
David Weinehall
tao at debian.org
Wed Feb 8 03:04:02 CET 2006
On Wed, Feb 08, 2006 at 12:38:11PM +0200, Eugene Sandulenko wrote:
> On Wed, 08 Feb 2006 00:44:06 +0100
> Laurent Blume <laurent at elanor.org> wrote:
>
> > I can, but I need some help to make it properly.
> >
> > There are only two errors:
> >
> > In file included from ./sword1/animation.h:25,
> > from sword1/animation.cpp:25:
> > ./graphics/animation.h:34: error: conflicting declaration 'typedef
> > int8 int8_t'
> > /usr/include/sys/int_types.h:54: error: 'int8_t' has a previous
> > declaration as `typedef char int8_t'
> >
> > I don't know how to cleanly work around that
> Rename every int8_t to something like int8_type.
This should (IMHO) be taken care of in the ./configure file; do
something similar to autoconf; try to use int8_t; if it is already
defined (it should be on all recent platforms), do nothing, otherwise
add -DINT8_NEEDED or similar to CFLAGS. This way we avoid ugly things
such as int8_type. The code shouldn't bend over backwards for
broken platforms.
[snip]
Regards: David Weinehall
--
/) David Weinehall <tao at debian.org> /) Rime on my window (\
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire //
\) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/
More information about the Scummvm-devel
mailing list