From: Siddharth K. <sid...@gm...> - 2011-09-21 10:01:50
|
Hi Aviral, I haven't checked the repos. in past couple of weeks but I think David's reply to one my earlier queries addresses this issue: The recent changes to t4k_common break compatibility with the master > branch of tuxmath in git, for the reasons (SDL_Color declarations) you > point out. To build master, compile against t4k_common 0.1.1. > > There is a branch of tuxmath called "t4k-1.0.0" that should work with > the current development in t4k_common. I've been trying to keep all > commits to master merged into this branch as well. > > Basically, for the next release of t4k-common I want to keep getting > rid of global variables from tuxmath and moving as much as possible > into the library. SDL_Init() and friends are going to be called from > within t4k_common. Also, I've started to add a test program for > t4k_common. Because these changes break compatibility with the > current version, the major number needs to get bumped, hence > "t4k_common-1.0.0". I want to get the incompatible changes finished > before we start redoing tuxtype for t4k_common. > > Short answer: > - if you want to work on things that don't concern t4k_common > directly, work on "master" and keep t4k_common at 0.1.1. > - if you want to use the latest t4k_common, work from the "t4k-1.0.0" > tuxmath branch. > Thanks, Siddharth On Wed, Sep 21, 2011 at 3:20 PM, Aviral Dasgupta <avi...@gm...> wrote: > Hi, > I got back to Tuxmath after quite some time and it appears that the latest > build (Tuxmath + Tux4Kids) is broken. Can anyone confirm? If yes then I can > try to fix it. > > In file included from tuxmath.c:30:0: > tuxmath.h:60:18: error: conflicting type qualifiers for ‘black’ > /usr/local/include/t4k_common.h:150:24: note: previous definition of > ‘black’ was here > tuxmath.h:61:18: error: conflicting type qualifiers for ‘gray’ > /usr/local/include/t4k_common.h:151:24: note: previous definition of ‘gray’ > was here > tuxmath.h:62:18: error: conflicting type qualifiers for ‘dark_blue’ > /usr/local/include/t4k_common.h:152:24: note: previous definition of > ‘dark_blue’ was here > tuxmath.h:63:18: error: conflicting type qualifiers for ‘red’ > /usr/local/include/t4k_common.h:153:24: note: previous definition of ‘red’ > was here > tuxmath.h:64:18: error: conflicting type qualifiers for ‘white’ > /usr/local/include/t4k_common.h:154:24: note: previous definition of > ‘white’ was here > tuxmath.h:65:18: error: conflicting type qualifiers for ‘yellow’ > /usr/local/include/t4k_common.h:155:24: note: previous definition of > ‘yellow’ was here > tuxmath.h:66:18: error: conflicting type qualifiers for ‘bright_green’ > /usr/local/include/t4k_common.h:156:24: note: previous definition of > ‘bright_green’ was here > In file included from tuxmath.c:30:0: > tuxmath.h:60:18: error: conflicting type qualifiers for ‘black’ > /usr/local/include/t4k_common.h:150:24: note: previous definition of > ‘black’ was here > tuxmath.h:61:18: error: conflicting type qualifiers for ‘gray’ > /usr/local/include/t4k_common.h:151:24: note: previous definition of ‘gray’ > was here > tuxmath.h:62:18: error: conflicting type qualifiers for ‘dark_blue’ > /usr/local/include/t4k_common.h:152:24: note: previous definition of > ‘dark_blue’ was here > tuxmath.h:63:18: error: conflicting type qualifiers for ‘red’ > /usr/local/include/t4k_common.h:153:24: note: previous definition of ‘red’ > was here > tuxmath.h:64:18: error: conflicting type qualifiers for ‘white’ > /usr/local/include/t4k_common.h:154:24: note: previous definition of > ‘white’ was here > tuxmath.h:65:18: error: conflicting type qualifiers for ‘yellow’ > /usr/local/include/t4k_common.h:155:24: note: previous definition of > ‘yellow’ was here > tuxmath.h:66:18: error: conflicting type qualifiers for ‘bright_green’ > /usr/local/include/t4k_common.h:156:24: note: previous definition of > ‘bright_green’ was here > > Regards, > Aviral > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Tuxmath-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxmath-devel > > |