#pentagram@irc.freenode.net logs for 26 Dec 2005 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[11:52:13] --> exultbot has joined #pentagram
[11:52:13] --- Topic for #pentagram is: Spoon!
[11:52:13] --- Topic for #pentagram set by Darke at Sun Feb 15 13:15:28 2004
[13:12:27] <-- Kirben has left IRC ("System Meltdown")
[22:42:34] --> Colourless has joined #Pentagram
[22:42:38] --- ChanServ gives channel operator status to Colourless
[22:45:49] --> Kirben has joined #pentagram
[22:45:49] --- ChanServ gives channel operator status to Kirben
[22:47:10] <wjp> hi Colourless, Kirben
[22:50:42] <Colourless> hiya
[22:50:53] * Colourless looks at email in box...
[22:51:17] <Colourless> a.. bug... report...
[22:51:17] <wjp> feel free to unassign it :-)
[22:52:14] <Colourless> i'll fix it. just need to update pentagram cvs...
[22:52:32] <Colourless> will be a simple simple change
[22:52:54] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[22:59:24] * Colourless compiles pentagram and waits for the error messages
[22:59:47] <Colourless> should migrate pentagram across to VC 2005
[22:59:54] --> Kirben has joined #pentagram
[22:59:54] --- ChanServ gives channel operator status to Kirben
[23:03:51] * Colourless gets hundreds of errors in HIDKeys.cpp
[23:04:18] <Colourless> doesn't like the keynames array...
[23:06:50] <wjp> does it work if you change the 'name' to a normal const char* instead of an istring?
[23:07:08] <Colourless> that isn't the problem...
[23:08:01] <Colourless> the EventName array works fine and it's pretty much the same
[23:08:48] <wjp> hm, I don't understand the 'default' case in HID_GetKeyName
[23:09:25] <wjp> what errors are you getting?
[23:10:31] <Colourless> actually eventnames getting same error
[23:10:55] <Colourless> \Pentagram\kernel\HIDKeys.cpp(282) : error C2440: 'initializing' : cannot convert from 'HID_Event' to 'EventName'
[23:10:56] <Colourless> No constructor could take the source type, or constructor overload resolution was ambiguous
[23:10:56] <Colourless> \Pentagram\kernel\HIDKeys.cpp(282) : error C2689: Initializing 'eventNames' : this form of non-aggregate initialization requires a unary constructor
[23:10:56] <Colourless> 'EventName' has a non-aggregate data member 'EventName::name' : Types with a non-aggregate data member are not aggregate
[23:11:54] <wjp> I'd simply switch them over to use const char*'s
[23:13:06] <Colourless> didn't help...
[23:14:05] <Colourless> but this did...
[23:14:05] <Colourless> struct KeyName {uint32 key; const char *name;};
[23:14:42] <Colourless> actually const char * does work
[23:19:52] <Colourless> all done
[23:53:41] * wjp recompiles
[23:57:34] <wjp> yup, much better now :-)
[23:57:38] <wjp> thanks