#exult@irc.freenode.net logs for 22 Feb 2005 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:16:19] <-- Baastuul has left IRC ("Good day.")
[00:31:15] <-- Cytech has left IRC ()
[00:53:35] --> trand has joined #exult
[01:43:37] <-- shazza has left IRC (Read error: 54 (Connection reset by peer))
[02:04:57] --> Baastuul has joined #exult
[02:41:46] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[02:44:54] --> Sevalecan has joined #exult
[03:17:31] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[03:17:47] --> Sevalecan has joined #exult
[04:29:59] --> sbx has joined #exult
[04:57:41] --> Colourless has joined #Exult
[04:57:41] --- ChanServ gives channel operator status to Colourless
[05:02:59] --> shazza has joined #exult
[05:42:07] <-- Baastuul has left IRC ("Reconnecting.")
[05:50:38] --> Baastuul has joined #exult
[08:49:36] --> azzahs has joined #exult
[08:49:37] <-- shazza has left IRC (Read error: 104 (Connection reset by peer))
[09:04:36] <-- exultbot has left IRC (ping timeout: 15 minutes)
[09:14:56] --> exultbot has joined #exult
[09:14:56] --- Topic for #exult is: There *is* no topic! *There* is no topic! There is *no* topic! There is no *topic*! (But if there was one, it would probably be about Exult 1.2.)
[09:14:56] --- Topic for #exult set by wjp at Wed Jun 16 22:42:33 2004
[09:41:16] <-- Baastuul has left IRC ("Reconnecting.")
[09:42:41] --> Baastuul has joined #exult
[09:57:58] --- ChanServ gives channel operator status to wjp
[10:54:32] <-- Baastuul has left IRC ("Good day.")
[11:36:55] --> Fl00der has joined #exult
[11:45:51] --> azzahs has joined #exult
[11:48:21] <-- azzahs has left IRC (Client Quit)
[13:20:47] <-- trand has left IRC ("Leaving")
[13:39:32] --> stevenh has joined #exult
[14:09:20] <-- Kirben has left IRC ("System Meltdown")
[14:35:36] --> artaxerxes has joined #exult
[14:35:40] <artaxerxes> hi all
[14:35:50] --- ChanServ gives channel operator status to artaxerxes
[14:37:39] <artaxerxes> I have a question for all the c++ buffs out there. Suppose I create a library from a c++ source. I then create a program in c that calls that library. I've managed to get everything to work when I compile this c prog with g++ but not when I compile it with gcc. Any idea on how to make it work with gcc?
[14:38:41] <artaxerxes> If I compile with gcc I get errors about undefined new[] calls and all that jazz
[14:41:52] <artaxerxes> hmmm. If I add -lstdc++, it compiles but it does not run the way it is supposed to.
[14:43:41] <artaxerxes> I think I know why.. my c code is messed up
[14:46:04] <-- Matt_O has left IRC (Read error: 104 (Connection reset by peer))
[14:47:04] <artaxerxes> it works!
[14:47:47] <artaxerxes> so adding a -lstdc++ can help the gcc to compile c code linked with a c++ library
[15:47:06] <sbx> artaxerxes: glad I could help!
[15:47:27] <sbx> oops, nm I was asleep :)
[15:53:16] <sbx> I didn't even think you need something like that.
[16:06:33] <artaxerxes> well, you never know
[16:07:40] <artaxerxes> I remember my Systems teacher telling us about writing code in different languages and linking them together was possible. I thought that was neat but it's the first time I actually tried it
[16:08:50] <artaxerxes> I do appreciate the much easier memory-management system offered by c++ over c but I also recognize many people still write their code in c, so I wanted to make it easy on me to program and easy on others to use my library.
[16:09:11] <artaxerxes> which by the way is almost completed.
[16:15:21] <sbx> it's a library? what did you link it to?
[16:16:22] <sbx> What I meant was, I didn't think you needed to add "-lstdc++" but I too have not statically linked C & C++ code together. (that I recall)
[16:25:23] --> trand has joined #exult
[16:26:51] <sbx> hi trand
[16:27:22] <trand> hi sbx
[16:27:31] <Sevalecan> hi Sevalecan
[16:28:05] <sbx> heya
[16:33:17] --> azzahs has joined #exult
[16:37:21] <-- shazza has left IRC (Read error: 104 (Connection reset by peer))
[16:42:28] <artaxerxes> si
[16:42:47] <artaxerxes> sbx: it is a dynamic link, not static
[16:44:49] <artaxerxes> s/si/hi
[16:47:12] <sbx> do you always have to do that for dynamic linking?
[16:47:27] <sbx> What did you link it to?
[16:48:54] <artaxerxes> I created a library from c++ code, but I made it with access from c code in mind. Then I created a small c program that used that library and it worked only when linking that small program with -lstdc++
[16:49:29] <artaxerxes> and what I mean by 'it worked' is, I could compile with gcc instead of g++
[16:49:50] <artaxerxes> if I compile my small program with g++, I do no have to add -lstdc++
[16:51:07] <sbx> is the small program useful? anything you will distribute?
[16:56:52] <artaxerxes> no no, that one was just for trying to have a c code compile with a c++ library
[16:57:16] <artaxerxes> but now I know it can be done, I will be able to work on something worth distributing
[16:58:24] <Sevalecan> you know whats fun... on windows when i link a program with stdc++ it grows 400 KB
[16:58:33] <Sevalecan> afk
[17:59:07] <-- trand has left IRC ("Leaving")
[18:14:41] --> trand has joined #exult
[18:17:14] <-- trand has left IRC (Client Quit)
[18:27:10] --> shazza has joined #exult
[18:37:14] <artaxerxes> gotta go
[18:37:18] <artaxerxes> bye all
[18:37:20] <-- artaxerxes has left IRC ("leaving")
[18:44:17] <-- sbx has left IRC ("BRB")
[18:48:22] --> sbx has joined #exult
[19:13:20] --> Fingolfin has joined #exult
[19:13:20] --- ChanServ gives channel operator status to Fingolfin
[20:04:47] --> Dood has joined #exult
[20:06:02] <Dood> hello
[20:06:32] <-- Dood has left IRC (Client Quit)
[20:34:14] <-- Colourless has left IRC ("casts improved invisibility")
[20:51:54] <-- Fl00der has left IRC (":P")
[20:53:43] --> Baastuul has joined #exult
[21:31:38] <-- stevenh has left IRC ("Leaving")
[22:02:51] --> Matt_O has joined #exult
[22:15:06] <-- Fingolfin has left IRC ("42")
[22:45:28] <-- shazza has left IRC ()
[22:59:12] --> Kirben has joined #exult
[22:59:12] --- ChanServ gives channel operator status to Kirben
[23:00:49] --> Curiousis-2 has joined #exult
[23:07:19] <sbx> hi Curiousis-2
[23:10:35] <Curiousis-2> hey, hows it going?
[23:11:12] <Curiousis-2> Just thought I'd visit #exult Its been a while
[23:16:12] <wjp> hi
[23:18:28] <sbx> sure has!
[23:18:34] <sbx> going fine
[23:18:40] <sbx> There *is no topic!
[23:19:09] <Curiousis-2> Well, a year with "no" topic seems like its damned well time to have one
[23:19:30] --- wjp has changed the topic to: There *is* a topic!
[23:19:45] <wjp> there; good for another year ;-)
[23:20:11] <Sevalecan> :D
[23:20:24] <Curiousis-2> That pleases me greatly
[23:20:27] <Sevalecan> hmm, doesnt look like much work is being done on uwadv
[23:20:37] <sbx> hehe
[23:26:20] <-- sbx has left IRC ("clicks the exit button")
[23:27:12] <Curiousis-2> So, I wrote about 2 and a half pages for an addition to the Exult Studio FAQ (Building barges and stuff) I sent it to Dominus but he was apparantly busy and didn't get back to me
[23:27:22] <Curiousis-2> So anybody interested?
[23:27:46] <Curiousis-2> Not a bug addition but I've been majorly busy
[23:28:01] --> sbx has joined #exult
[23:28:02] <Curiousis-2> err... big addition. Bug additons are how I violate pentagram
[23:29:12] <wjp> now that pentagram's default resolution is down to 320x200, a number of fastarea related bugs should be gone, by the way :-)
[23:29:23] <wjp> (those non-resetting teleporters)
[23:30:24] <sbx> Curiousis-2: I am interested.
[23:30:46] <Curiousis-2> WJP: excellent, I'll have to try that out
[23:31:03] <sbx> wjp: but now people keep asking how to get the higher resolution again
[23:32:31] <Curiousis-2> Its weird. I had gotten use to playing Pentragram at the higher resolution. IT is nice, but if it introduces plot stopping bugs, well that isn't so nice
[23:32:58] <Curiousis-2> sbx: what is your email?
[23:34:44] <Curiousis-2> test
[23:35:11] <wjp> testing anything in particular? :-)
[23:36:00] <sbx> sorry I was looking somewhere else, I'll message it to you
[23:36:17] <Curiousis-2> yeah, my IRC client spontaneously commits hari kari.
[23:37:11] <sbx> bonsai!
[23:38:26] <Curiousis-2> Damned minerature trees! To the depths with them all I say!
[23:38:39] <sbx> wait
[23:38:41] <sbx> bansai!
[23:38:53] <sbx> :p
[23:39:06] <wjp> banzai, even ;-)
[23:40:04] <sbx> No matter where you go, there you are.
[23:40:11] <sbx> thanks wjp
[23:42:03] --> trand has joined #exult
[23:44:57] <Curiousis-2> Oh yeah and the new Pentragram isntallation program is much nicer.
[23:45:03] <Curiousis-2> spelling is hard
[23:46:36] <Curiousis-2> guiapp::loadgame is that correct?
[23:47:23] <sbx> "I donít know where this section should go"
[23:48:06] <Curiousis-2> Work in progress...
[23:48:28] <sbx> this is cool
[23:48:32] <sbx> can NPCs use intermap eggs?
[23:49:39] <wjp> Pentagram has an installation program?
[23:49:58] <Curiousis-2> uhmm... the new thingy that runs when I download the latest CVS
[23:50:08] <sbx> Inno Setup?
[23:50:19] <wjp> I see; interesting :-)
[23:51:22] <sbx> Curiousis-2: you missed a closing parenthesis line ... well wordpad doesnt show line numbers
[23:51:34] <sbx> In section 8.?
[23:51:41] <sbx> 2nd paragraph
[23:51:58] <Curiousis-2> O.K.
[23:52:27] <Curiousis-2> I see. Thanks
[23:52:30] <sbx> sorry if you didn't need to know :)
[23:52:31] <sbx> np
[23:52:54] <sbx> can barges use intermap eggs?
[23:52:57] <Curiousis-2> Well... I'm sure I made bigger mistakes that that you could point out :)
[23:53:06] <sbx> I want to take a ship between Britannia and SI.
[23:53:27] <Curiousis-2> Wow, and I just want to take a ship to the Carribean
[23:53:42] <wjp> you should ask on the ML or the forum
[23:53:50] <sbx> ok
[23:53:52] <wjp> anyway, time to go; night
[23:53:54] <sbx> bye
[23:53:56] <Curiousis-2> Have a good one
[23:54:23] <Curiousis-2> Hey cool, I crashed pentagram
[23:54:43] <wjp> you know where the bug tracker is ;-)
[23:54:48] <Curiousis-2> yes