#pentagram@irc.freenode.net logs for 9 Sep 2009 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[03:56:29] <-- Kirben has left IRC ()
[03:58:38] --> Kirben has joined #pentagram
[03:58:39] --- ChanServ gives channel operator status to Kirben
[05:58:30] <-- Kirben has left IRC ()
[09:15:05] <-- Ember has left IRC (Nick collision from services.)
[09:56:56] --> Dominus has joined #pentagram
[09:56:56] --- ChanServ gives channel operator status to Dominus
[10:35:21] --> Kirben has joined #pentagram
[10:35:21] --- ChanServ gives channel operator status to Kirben
[10:36:46] <-- Colourless has left IRC (orwell.freenode.net irc.freenode.net)
[10:44:25] <-- Kirben has left IRC ()
[10:47:59] --> Colourless has joined #pentagram
[10:54:14] <-- Colourless has left IRC ("casts improved invisibility")
[11:09:02] --> Colourless has joined #Pentagram
[11:09:02] --- ChanServ gives channel operator status to Colourless
[19:11:11] <Dominus> grr and pentagram won't find libpng...
[19:20:04] <Dominus> ok, that I fixed :)
[19:21:27] <Dominus> but then it fails building convertshape
[19:21:41] <Dominus> probably because sdl 1.3
[19:22:42] <Dominus> http://pastebin.com/m6738710c
[19:23:05] <Dominus> sdl 1.2x really needs to be fixed :)
[19:23:16] <Dominus> for os x 10.6
[19:36:56] <wjp> hm, those errors look fixable with some casts
[19:38:48] <wjp> the relevant functions are rw_seek, rw_read and rw_write in filesys/IDataSource.h
[19:39:24] <wjp> you need to change the types of the return value and arguments to match the list behind the 'to' in the error message
[19:40:08] <wjp> so for rw_seek two ints have to be changed to long int, and for the others three ints have to be changed to size_t's
[19:43:16] <Dominus> ok, I'll see to it
[19:43:46] <wjp> I hope that won't just move the errors :-)
[19:44:27] <wjp> (and it won't work with SDL 1.2 anymore after that change)
[19:51:02] <Dominus> I might have done that wrong http://pastebin.com/m1b45c61d
[19:51:37] <Dominus> because I still get a similar error
[19:53:03] <wjp> the type before the (*) in the original error is the return type of the function
[19:53:16] <wjp> so the type directly after the 'static' in the .h
[19:54:32] <Dominus> ahhhh
[19:55:36] <wjp> function pointer syntax is kind of odd :-)
[19:56:35] <Dominus> sorry, I really don't get it
[19:57:19] <Dominus> I'll try to get it some other time, my gf needs me :)
[19:57:26] <Dominus> sorry and thanks :)
[19:57:27] <wjp> static long int rw_seek(SDL_RWops *context, long int offset, int whence)
[19:57:45] <wjp> static size_t rw_read(SDL_RWops *context, void *ptr, size_t size, size_t maxnum)
[19:58:00] <wjp> static size_t rw_write(SDL_RWops *context, const void *ptr, size_t size, size_t num)
[19:58:09] <wjp> ok, see you later :-)
[19:58:20] <wjp> let me know what happens when you have the time to try it
[19:59:18] <Dominus> that much time I had builds more and locks at kernel/HIDkeys.cpp
[19:59:38] <Dominus> http://pastebin.com/m7ac2c4b1
[19:59:44] <Dominus> now I'm gone :)
[22:00:08] <-- Dominus has left IRC ("Leaving.")
[22:00:34] --> Dominus has joined #pentagram
[22:00:34] --- ChanServ gives channel operator status to Dominus
[22:04:28] <-- Dominus has left IRC (Read error: 60 (Operation timed out))
[23:13:34] * watt shrieks and apologizes
[23:41:23] <-- watt has left IRC ()
[23:48:21] --> watt has joined #pentagram
[23:48:22] --- ChanServ gives channel operator status to watt