Hi everyone,
The error occurs due to conflicting type qualifiers for SDL_Color variables
in tuxmath.h and t4k_common.h, as the latter declares them as static const.
So, I removed the declaration from tuxmath.h. This led to the same issue
with two other files -> setup.c (assign statements to the members of
SDL_Color)and titlescreen.c (conflicting declaration). Removing the relevant
codes from 'setup.c' and 'titlescreen.c' resolves the problem.
But I haven't committed this as I am not sure if this is a clean solution.
Thanks,
Siddharth
On Fri, Jul 1, 2011 at 9:30 PM, Siddharth Kothari
<sid...@gm...>wrote:
> Hi,
>
> I tried to source-compile tuxmath from the git repo. recently and had an
> error. Here's the paste - http://goo.gl/N4JKc
> The error seems related to one of the recent commits in t4k_common's git
> repository.
>
> Thanks,
> Siddharth
>
|