#exult@irc.freenode.net logs for 11 Apr 2016 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[01:19:52] <-- Dominus has left IRC (Ping timeout: 248 seconds)
[01:20:44] --> Dominus has joined #exult
[01:20:44] --- ChanServ gives channel operator status to Dominus
[05:12:33] <Dominus> Marzo, here compile fails because it can't find unordered_map...
[05:12:49] <Dominus> ../hash_utils.h:30:14: fatal error: 'unordered_map' file not found
[05:12:49] <Dominus> # include <unordered_map>
[05:13:40] <Dominus> hmm, let me see, seems I may need higher SDK than I was using.
[05:29:55] <Dominus> hmm, from what I gather I'd need to run clang with -std=c++11
[05:31:04] <Dominus> but if I do set cc to this, configure fails with error: invalid argument '-std=c++11' not allowed with 'C/ObjC' in config.log
[07:03:29] <Dominus> if I build with -stdlib=libc++ I get past this, but then error out in imagewin :(
[07:03:50] <Dominus> imagewin.cc:395:26: error: non-constant-expression cannot be narrowed from type
[07:03:50] <Dominus> 'int' to 'uint32' (aka 'unsigned int') in initializer list
[07:03:51] <Dominus> [-Wc++11-narrowing]
[07:04:21] <Dominus> this might help in hash_hutils https://groups.google.com/forum/#!topic/google-ctemplate/aute0rbWKwg
[07:29:17] --> ttarrant has joined #exult
[09:19:29] --> ttarrant_ has joined #exult
[09:19:37] <-- ttarrant has left IRC (Read error: Connection reset by peer)
[09:50:35] <-- Lightkey has left IRC (Ping timeout: 250 seconds)
[10:03:17] --> Lightkey has joined #exult
[11:13:35] <Marzo> Dominus: so clang is lying when it defines __cplusplus >= 201103L
[11:13:58] <Marzo> It is supposed to do that only when it has full C++11 compliance
[11:14:52] <Marzo> And -std=c++11 should be selected by configure.ac
[11:18:24] <Marzo> Anyway, will fix it shortly
[11:19:49] <-- ttarrant_ has left IRC (Read error: Connection reset by peer)
[11:19:55] --> ttarrant has joined #exult
[11:27:38] <Marzo> Dominus: this has the answer: https://stackoverflow.com/questions/19774778/when-is-it-necessary-to-use-use-the-flag-stdlib-libstdc
[11:27:46] <Marzo> Basically, Apple being Apple
[11:53:22] <-- ttarrant has left IRC (Ping timeout: 240 seconds)
[11:57:49] --> GitHub has joined #exult
[11:57:49] <GitHub> [exult] marzojr pushed 7 new commits to master: https://git.io/vV73i
[11:57:49] <GitHub> exult/master fa900f5 Marzo Sette Torres Junior: * *.*: Deprecating exult_types.h in favor of common_types.h. Fixing several...
[11:57:49] <GitHub> exult/master a2380fe Marzo Sette Torres Junior: * keyactions.cc: Adding whitespace to account for C++11 literal suffixes.
[11:57:49] <GitHub> exult/master e606dc0 Marzo Sette Torres Junior: * *.*: Eliminating -Wold-style-cast and -Wcast-qual warnings everywhere but...
[11:57:49] <-- GitHub has left #exult
[11:57:51] <Marzo> Dominus: when you can, please check if what I committed works
[12:02:14] <Dominus> hi marzo, it's not working right away :(
[12:03:08] <Dominus> without passing anything to clang clang++ it's erooring again at the unordered_map
[12:09:58] <Marzo> Dominus: out of curiosity, are you compiling with --enable-heavy-gdb-debug?
[12:10:30] <Marzo> And this is mighty weird; configure should be adding the flags to CXXFLAGS
[12:10:35] <Dominus> no
[12:10:44] <Marzo> Can you post config.log?
[12:11:22] <Dominus> one moment
[12:12:46] <Dominus> https://www.dropbox.com/s/fs6921ordhtm37j/config.log?dl=1
[12:14:12] <Marzo> Hm, the check failed
[12:23:57] <Marzo> Dominus: try again now
[12:24:10] --> GitHub has joined #exult
[12:24:10] <GitHub> [exult] marzojr pushed 1 new commit to master: https://git.io/vV7cD
[12:24:10] <GitHub> exult/master bc39372 Marzo Sette Torres Junior: Fixing clang+AppleOS test.
[12:24:10] <-- GitHub has left #exult
[12:27:39] <Dominus> now it goes beyond but errors out when including files from the SDK
[12:28:44] <Dominus> http://pastebin.com/9wqHZm8n
[12:29:56] <Dominus> APPLE!!!!!
[12:35:22] <Marzo> Updated again
[12:35:27] --> GitHub has joined #exult
[12:35:27] <GitHub> [exult] marzojr pushed 3 new commits to master: https://git.io/vV7Wi
[12:35:27] <GitHub> exult/master b35b4bd Marzo Sette Torres Junior: * cheat_screen.cc, shapes/shapeinf.h: Eliminating (spurious) warnings from...
[12:35:27] <GitHub> exult/master c8db85e Marzo Sette Torres Junior: * gumps/ShortcutBar_gump.cc: Checking pointers if they are null, instead of...
[12:35:27] <GitHub> exult/master 92dd874 Marzo Sette Torres Junior: * headers/common_types.h: Prevent redefinition of some types if they already...
[12:35:27] <-- GitHub has left #exult
[12:38:55] <Dominus> server/objserial.cc now misbehaves
[12:39:14] <Dominus> http://pastebin.com/i44wF0xh
[12:39:54] <Dominus> but it went past the coremidi error
[12:45:44] <Marzo> Hrm. Will have to do it a different way
[12:46:00] <Marzo> Let me just finish eliminating one more warning and I will fix that one
[12:46:32] <Dominus> thanks, I may not be able to give feedback right away for a bit
[12:47:08] --> ttarrant has joined #exult
[12:48:09] --> GitHub has joined #exult
[12:48:09] <GitHub> [exult] Kirben pushed 1 new commit to master: https://git.io/vV78K
[12:48:09] <GitHub> exult/master 4385709 Kirben: Update MinGW Makefile for recent changes.
[12:48:09] <-- GitHub has left #exult
[12:58:00] <Dominus> Marzo: can you silence the ranlib "no symbols" warnings on OS X as well? http://stackoverflow.com/questions/23603355/ranlib-ar-in-mac-os-gives-me-has-no-symbols-warning
[12:58:53] <Dominus> that's my silent built :) http://pastebin.com/5Gzmg60C
[12:59:22] <Dominus> it's of course not a new problem, it was always there...
[13:06:35] <Marzo> Dominus: that objserial problem was my fault, as it turns out; doing a partial revert of 92dd8740ce6223eea1a6aa55a3533b43f961dde7 fixes it
[13:06:49] <Marzo> But let me just finish compiling to make sure
[13:32:09] <Marzo> Dominus: fix away
[13:32:15] --> GitHub has joined #exult
[13:32:15] <GitHub> [exult] marzojr pushed 2 new commits to master: https://git.io/vV7oy
[13:32:15] <GitHub> exult/master 8e68ce1 Marzo Sette Torres Junior: * mapedit/{npclst,paledit,shapelst}.cc: Eliminating -Wreorder warnings.
[13:32:15] <GitHub> exult/master 1cefbeb Marzo Sette Torres Junior: * headers/common_types.h: Fixing compilation by partially reverting commit...
[13:32:15] <-- GitHub has left #exult
[13:35:56] <Marzo> Tonight I will look into ranlib
[13:56:34] <Marzo> Hm, MAME's new fmopl is C++11
[14:07:40] <-- ttarrant has left IRC (Read error: Connection reset by peer)
[14:07:54] --> ttarrant has joined #exult
[14:49:39] <Dominus> Marzo, sorry, was away. the last commit is causing http://pastebin.com/9wqHZm8n again :(
[15:07:46] <-- ttarrant has left IRC (Ping timeout: 264 seconds)
[15:47:45] --> Marzo_android has joined #exult
[15:50:50] <Marzo_android> Dominus: will fix when I am home; I think I know a fool-proof way of doing it
[16:56:37] --> frob has joined #exult
[17:21:31] <Dominus> thanks. I just noticed there is still a MACOS entry int he hash_utils.h file. This can go. MacOS is no longer supported. Fingolfin got rid of most files that were there for it :)
[17:24:00] <Dominus> couple of other references to it as well in other files...
[17:33:58] <Dominus> When Exult compiles again, I can clean those up
[17:38:56] <-- Marzo_android has left IRC (Quit: Bye)
[17:54:26] <Dominus> Windows CE can most likely go as well. No one is using Windows CE anymore. Though I'm not sure if WindowsMobile is similar in what it needs. But I think not
[21:10:51] --> ttarrant has joined #exult
[22:26:58] <-- ttarrant has left IRC (Ping timeout: 264 seconds)