#exult@irc.freenode.net logs for 4 May 2016 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[01:27:11] --> DominusExult has joined #exult
[01:27:11] --- ChanServ gives channel operator status to DominusExult
[01:31:05] <-- Dominus has left IRC (Ping timeout: 246 seconds)
[01:31:05] --- DominusExult is now known as Dominus
[01:36:34] <-- frob_bizaro has left IRC (Ping timeout: 250 seconds)
[01:48:13] <Marzo> Malignant_Manor: remove both instances of "static": these make the function visible only from sdl-compat.h
[01:48:42] <Marzo> Even better, merge lines 38-40 as they are redundant
[01:49:21] <Marzo> Does SDL_putenv really not exist on Win32 and OSX?
[01:50:34] <Marzo> Because as is, the function should not even be found, much less used, in the places where it is being included
[01:50:44] <Marzo> And maybe outright deleting it is better
[01:53:11] <Marzo> Besides, including that function in a header is wrong anyway
[01:53:31] <Marzo> Since it is only used in exult.cc, it should be placed there instead
[01:53:59] <Marzo> Hrm, need to try compiling with SDL 2.0
[01:58:55] <Marzo> There: seems like SDL_putenv is in header SDL_compat.h
[02:01:38] <Marzo> Hm, it was removed
[02:14:22] <Marzo> Searching through SDL2.0 code, there is no mention of SDL_VIDEO_CENTERED variable
[02:16:34] <Marzo> SDL_VIDEODRIVER is there, though
[02:55:13] --> Malignant_Manor has joined #exult
[02:56:55] <Malignant_Manor> Marzo: There's a ton of old style cast warnings, a few signed/unsigned warnings, and a few undefined behavior warnings. I fixed some more unused variables in the SDL2 Win build.
[02:57:25] <Malignant_Manor> I am compiling again to test my changes.
[02:57:26] <Marzo> At some point, I will give you and Dominus a list of warning flags and ask for logs
[02:57:52] <Malignant_Manor> I figure it will not be good until you are done since line numbers change
[02:57:54] <Marzo> Then I will make these the default warning level on all OSes
[02:58:42] <Malignant_Manor> I still haven't tried warnings in SDL 1.2.
[02:59:53] <Malignant_Manor> You should probably do the SDL_putenv changes.
[03:01:05] <Marzo> I would have to set up a Windows dev environment for that
[03:03:06] <Malignant_Manor> Oh, yeah. I forgot
[03:08:57] <Malignant_Manor> Marzo: by merge do you mean static int SDLCALL SDL_putenv(const char *_var) { ?
[03:09:47] <Marzo> Yes
[03:10:12] <Marzo> Can you try removing SDL_putenv altogether and checking if exult.cc compiles and links?
[03:10:29] <Marzo> Because that 'static' means it shouldn't even be picked up
[03:12:05] <Malignant_Manor> Exult.cc needs it. It created 108 warnings.
[03:15:47] <Malignant_Manor> (108 warnings before moving it)
[03:19:14] --> GitHub has joined #exult
[03:19:14] <GitHub> [exult] malignantmanor pushed 1 new commit to master: https://git.io/vw7U4
[03:19:14] <GitHub> exult/master dcf6a34 Malignant Manor: * exult.cc: fix comparison between signed and unsigned integer....
[03:19:14] <-- GitHub has left #exult
[03:21:05] <Malignant_Manor> I'm building Exult with SDL 1.2 now.
[03:24:29] <Malignant_Manor> oops. I accidentally left out SDL_VERSION_ATLEAST(2, 0, 0)
[03:37:27] --> GitHub has joined #exult
[03:37:27] <GitHub> [exult] malignantmanor pushed 1 new commit to master: https://git.io/vw7Tg
[03:37:27] <GitHub> exult/master dbbd20f Malignant Manor: Add missing SDL_VERSION_ATLEAST(2, 0, 0) from last commit
[03:37:27] <-- GitHub has left #exult
[03:41:59] <Malignant_Manor> Marzo: I got a compile error on tools. http://pastebin.com/5uJwU1SV
[03:54:53] <Malignant_Manor> missing flex
[04:28:47] <Malignant_Manor> Marzo: I already had flex and then newer but still ancient (2.5.4 from 2004 and 2.5.15 from 2006) Windows precompiled versions.
[04:29:11] <Malignant_Manor> %top isn't recognized.
[04:45:02] <-- Rottingbeef has left IRC ()
[04:49:57] --> Rottingbeef has joined #exult
[05:03:58] <Malignant_Manor> Well, I am in dependency hell and don't feel like trying to build flex anymore.
[05:04:12] <Malignant_Manor> ?seen Kirben
[05:04:13] <exultbot> kirben left IRC around Mon Mar 28 08:30:54 2016 (GMT) (Quit: System Meltdown)
[05:05:04] <Malignant_Manor> I'll email Kirben and ask him if he has any problems building tools.
[05:12:27] <Malignant_Manor> The latest build is from 4-14 so he would have built it after the change.
[05:15:17] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.92 [Firefox 46.0/20160421124000])
[05:45:25] --> frob has joined #exult
[05:54:16] --> ttarrant has joined #exult
[06:11:10] <-- frob has left IRC (Remote host closed the connection)
[06:21:34] --> frob has joined #exult
[07:46:54] <-- frob has left IRC (Remote host closed the connection)
[09:19:20] <Dominus> odd, need to look it up but it seems on the Exult-ios fork we "lost" in imagewin.cc "SDL_Rect destRect = {x, y, w, h};" that Malignant now commented.
[09:19:58] <Dominus> (no problem, just wondering aloud as I'm patching the ios fork now to be up to main Exult)
[09:57:53] <-- mixfix41 has left IRC (Ping timeout: 246 seconds)
[09:58:53] --> frob has joined #exult
[10:03:08] <-- frob has left IRC (Ping timeout: 250 seconds)
[10:05:45] <-- Philantrop has left IRC (Ping timeout: 244 seconds)
[10:11:55] --> mixfix41 has joined #exult
[10:12:08] --> Philantrop has joined #exult
[10:12:08] <-- Philantrop has left IRC (Changing host)
[10:12:08] --> Philantrop has joined #exult
[11:29:26] <Dominus> Xcode has only 633 warnings... :)
[11:32:35] <Dominus> mostly "implicit conversion loses integer precision: long to int" (or some flavor of this, ulong/uint, etc...)
[12:02:37] <Marzo> Malignant_Manor: In my seriously outdated MinGW dev environment, I have flex 2.5.35, which supports %top
[12:03:57] <Marzo> You may want to obtain mingw-get and use it to update the tools
[15:10:59] --> Malignant_Manor has joined #exult
[15:12:21] <Malignant_Manor> Marzo: MinGW doesn't have Flex as a package.
[15:13:16] <Malignant_Manor> now I see flex-bison as a package
[15:14:12] <Malignant_Manor> https://sourceforge.net/projects/winflexbison
[15:17:39] <Dominus> Malignant_Manor: flex-bison is correct I think.
[15:18:07] <Dominus> Isn't everything either listed in the readme.mingw/win32?
[15:18:33] <Dominus> Or included in the snapshot build packages on our webspace?
[15:20:09] <Malignant_Manor> searching flex found nothing in the document
[15:26:37] --> frob has joined #exult
[15:31:41] <-- frob has left IRC (Ping timeout: 276 seconds)
[15:34:00] <Malignant_Manor> Sigh. usecode/compiler/ucmain.cc:72:47: error: 'getopt' was not declared in this scope
[15:34:16] <Malignant_Manor> Exult Studio compiled and it uses getopt
[15:34:46] <Malignant_Manor> Marzo: usecode/compiler/uclex.ll:249:32: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]
[15:41:01] <Malignant_Manor> The Windows dev download has flex from 1999
[15:41:39] <Dominus> might be good enough
[15:42:01] <Dominus> Kirben still compiles with this, I guess
[15:43:08] <Malignant_Manor> But it didn't work for me but renamed Win flex-bison did
[15:51:32] <Malignant_Manor> I'm just going to try to ask Kirben to kindly update the GCC version and package downloads (if needed). Then I can test if you can build Exult, ES, and tools from that.
[15:52:14] <Dominus> Kirben wanted to wait until the big ScummVM release or so. marzo had asked him no too long ago
[15:52:47] <Dominus> don't know if that release happened yet
[15:54:21] <Malignant_Manor> I miss package managers with most/all of the needed libraries.
[15:54:32] <Malignant_Manor> and them actually being up to date
[15:55:19] <Dominus> yes, Windows development can be a pain in the ass
[15:56:26] <Malignant_Manor> Windows GNU support is second class even with packages all over the place because of lack of posix.
[15:56:46] <Dominus> It's greatly improved with a mac (especially if you sign your life over to the existing package managers), still a pit at times, especially when Apple makes life harder for no reason...
[15:57:36] <Malignant_Manor> Apple likes to break compatibility.
[15:58:19] <Dominus> actually no
[15:58:37] <Dominus> they just don't cling to old stuff and eventually move on :)
[15:59:18] <Malignant_Manor> Windows should have its own Wine and switch to POSIX compatible.
[15:59:38] <Dominus> that can be annoying but is often ok and not as serious as people think (Apple breaking compatibility)
[15:59:51] <Malignant_Manor> A better filesystem would be nice as well.
[16:00:55] <Dominus> for example Apple abandoned the rosetta PPC emulator and thus allowed no more ppc programs on their newer OS X versions. But I can still build for PPC machines
[16:01:05] <Malignant_Manor> Apple made cross platform development worse by no supporting Vulkan
[16:02:00] <Malignant_Manor> Metal lock in with iOS apps
[16:02:41] <Dominus> I'd say they didn't make it worse, they just didn't make it better
[16:05:08] <Malignant_Manor> It used to be just OpenGL or OpenGL and DirectX. Now you have a ton of different graphics APIs.
[16:06:03] <Malignant_Manor> Well, also had OpenGL ES
[16:09:05] --> frob has joined #exult
[16:21:03] <Malignant_Manor> I wonder why ScummVM supports the first 2 Eye of the Beholder games but not the third which had its source code released by John Miles.
[16:55:17] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.92 [Firefox 46.0/20160421124000])
[17:42:16] <-- tsoliman has left IRC (Quit: ZNC - http://znc.in)
[17:58:27] --> tsoliman has joined #exult
[18:17:08] <-- Philantrop has left IRC (Ping timeout: 250 seconds)
[18:18:17] --> Philantrop has joined #exult
[18:18:19] <-- Philantrop has left IRC (Changing host)
[18:18:19] --> Philantrop has joined #exult
[19:02:03] <-- Philantrop has left IRC (Ping timeout: 244 seconds)
[19:12:03] --> Philantrop has joined #exult
[19:12:03] <-- Philantrop has left IRC (Changing host)
[19:12:03] --> Philantrop has joined #exult
[19:16:41] <-- ttarrant has left IRC (Read error: Connection reset by peer)
[20:32:59] <-- Philantrop has left IRC (Ping timeout: 244 seconds)
[20:36:38] --> Philantrop has joined #exult
[20:36:38] <-- Philantrop has left IRC (Changing host)
[20:36:38] --> Philantrop has joined #exult
[20:42:18] <-- Philantrop has left IRC (Ping timeout: 250 seconds)
[20:52:44] --> Philantrop has joined #exult
[20:52:44] <-- Philantrop has left IRC (Changing host)
[20:52:44] --> Philantrop has joined #exult
[21:36:01] <-- Philantrop has left IRC (Ping timeout: 244 seconds)
[21:40:42] <-- frob has left IRC (Remote host closed the connection)
[21:41:28] --> frob has joined #exult
[21:48:20] --> Philantrop has joined #exult
[21:48:23] <-- Philantrop has left IRC (Changing host)
[21:48:23] --> Philantrop has joined #exult
[22:07:32] <-- Philantrop has left IRC (Ping timeout: 244 seconds)
[22:13:09] --> Philantrop has joined #exult
[22:13:09] <-- Philantrop has left IRC (Changing host)
[22:13:09] --> Philantrop has joined #exult