Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-03-25 00:00:00Z and 2018-03-26 00:00:00Z
[quakenet] <jxsl13> does anyone know, how to add the -std=c++11 flag to bam, without getting the error, that C/ObjC cannot be compiled with this flag ?
[quakenet] <jxsl13> how to configure bam.lua in order to use c++11 standard on the cpp files and avoid getting that error that you cannot use that flag on either C or Obj-C?
14:56
[quakenet] <deen> hm, actually not sure
14:56
[quakenet] <deen> don't see anything c++ specific
14:57
[quakenet] <jxsl13> is there some kind of way to remove previously set flags :?
14:57
[quakenet] <deen> settings.cc.flags_cxx should work
14:57
[quakenet] <deen> (after reading bam source code, but never used it)
15:00
[quakenet] <jxsl13> it worked, thanks :D
15:00
[quakenet] <deen> np
15:01
[quakenet] <jxsl13> hm, now only somehow to add sdl ._.
15:01
[quakenet] <deen> sdl?
15:01
[quakenet] <deen> isn't that added already?
15:02
[quakenet] <jxsl13> hm, maybe the bam.lue is broken, seems to build two versions
15:03
[quakenet] <deen> on mac osx that's normal
15:03
[quakenet] <deen> to make fat binaries for all platforms
15:03
[quakenet] <deen> you could make debug_x86_64
15:03
[quakenet] <deen> "bam debug_x86_64"
15:04
[quakenet] <deen> if you just need one
15:04
[quakenet] <jxsl13> first was the server biary, that's working...
15:04
[quakenet] <deen> ah
15:05
[quakenet] <deen> installing the sdl package from official website should work
15:05
[quakenet] <deen> but depending on what you're building you'll need sdl 1.2