#pentagram@irc.freenode.net logs for 27 May 2006 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[01:39:49] <watt> Mac SDL support is pretty cool - they give xcode templates and a number of Nibs to choose from for what type of windowed mode you would like - menu integration mostly.
[01:44:05] --> Colourless has joined #Pentagram
[01:44:05] --- ChanServ gives channel operator status to Colourless
[01:56:23] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[01:56:39] --> Colourless has joined #Pentagram
[01:56:45] --- ChanServ gives channel operator status to Colourless
[01:59:11] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[02:11:20] <-- servus has left IRC (Read error: 104 (Connection reset by peer))
[02:11:31] --> servus has joined #pentagram
[09:21:17] <-- Corvus has left IRC ("Quit")
[10:26:34] --> Kohlrabi has joined #pentagram
[10:31:24] --> Kazin has joined #pentagram
[10:31:47] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[11:09:15] <-- Kazin has left IRC (Read error: 104 (Connection reset by peer))
[11:18:04] --> Corvus has joined #pentagram
[12:13:13] --> Kohlrabi has joined #pentagram
[12:29:38] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[12:45:03] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[14:45:22] <-- SB-X has left IRC ()
[17:24:42] <watt> oh, just thought of my first major hurdle - sizeof on some types won't be the same both sides of universal binaries
[17:25:01] <wjp> hi watt
[17:25:06] <wjp> why is that a hurdle?
[17:30:10] <wjp> (and by that I mean that I'm not familiar with the universal binary build process)
[17:37:36] --> Kohlrabi has joined #pentagram
[17:37:38] <watt> Oh, I guess it's not a big deal common-types.h uses preprocessor to determine size rather than simply trusting config.h
[17:38:18] <wjp> you mean both builds have to use the same config.h?
[17:38:32] <wjp> that sounds strange
[17:39:41] <watt> well, no, but it looks like I can pretty much ignore config.h
[17:40:00] <wjp> true
[17:40:09] <wjp> I forgot for a moment you weren't using configure
[17:40:57] <watt> I was thinking I might to a point, but that may not be neccessary
[17:43:24] <wjp> do you already have a native build working?
[17:50:40] <watt> no.
[17:51:31] <watt> but I'll most likely have both at the same time - and then need to test the PPC side of the unversal binary using rosetta.
[17:55:11] <watt> I think UInt8, UInt16, & UInt32 may be already defined in gcc for mac - unless I'm missing something in the SDL headers
[17:56:42] <wjp> SDL defines Uint8 and such
[19:02:41] <watt> ah, fun - SDL defines SInt8 to be int8_t, which ends up as signed char. If I try to define int8_t as EX_TYPE_INT8 in pentagram, later it will say typedef unsigned signed char uint8
[19:03:19] <wjp> Sint8, by the way; not SInt8
[19:05:08] <watt> oh, right you are
[19:05:58] <wjp> setting EX_TYPE_INT8 to char should just work, shouldn't it?
[19:06:06] <watt> anyway - end up telling me int8 is not a type as an error, since it has already been signed.
[19:06:18] <watt> for int8, yes.
[19:06:20] <wjp> (or not setting it; it'll pick char by default)
[19:06:44] <watt> but the others, well, ppc vs i386 again
[19:07:37] <wjp> you can set the defines separately for both architectures, right?
[19:07:54] <watt> could simply learn the types and set them for each, but that would mean more work if ia64 ever reaches the mac
[19:08:14] <watt> I might just shrug on that
[19:08:43] <Oak> macs aren't using ppc anymore in future
[19:09:59] <wjp> watt: but feel free to change common_types.h if it'll improve things
[19:10:06] <watt> yes. but that still exist out there
[19:10:25] <watt> I might do that too.... i dunno
[19:27:59] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[19:29:17] --> Kohlrabi has joined #pentagram
[19:29:59] <-- Corvus has left IRC ("Quit")
[19:47:24] --> Corvus has joined #pentagram
[20:02:43] <-- watt has left IRC (Remote closed the connection)
[20:29:54] <-- Corvus has left IRC ("Quit")
[20:41:28] --> Corvus has joined #pentagram
[21:09:49] <-- Corvus has left IRC ("Quit")
[21:32:18] <-- Kohlrabi has left IRC (Nick collision from services.)
[21:32:23] --> Kohlrabi has joined #pentagram
[21:54:08] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[22:10:15] --> watt has joined #pentagram
[22:10:15] --- ChanServ gives channel operator status to watt
[22:12:30] <watt> Figured a reasonable hack - encapsulated some of the typedefs in #ifndef BASIC_TYPES_DEFINED and declared it defined in the macosx_include.h with the appropriate typedefs
[22:13:20] <wjp> sounds ok
[22:28:13] --> Kohlrabi has joined #pentagram
[23:01:45] <-- Kohlrabi has left IRC (Read error: 104 (Connection reset by peer))
[23:04:06] --> Kohlrabi has joined #pentagram
[23:21:42] --> Kirben has joined #pentagram
[23:21:42] --- ChanServ gives channel operator status to Kirben
[23:28:01] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[23:28:07] --> Kirben_ has joined #pentagram
[23:28:07] --- ChanServ gives channel operator status to Kirben_