Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2019-08-08 00:00:00Z and 2019-08-09 00:00:00Z
Avatar
I get the error when I run teeworlds 0.7.3 win32 version on my WinXp x86
Avatar
does anyone know, how to enforce the c++17 standard in the teeworlds cmake file, especially for the server part? tried these option cmake_minimum_required(VERSION 3.10) <- needed for c++17 set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set_target_properties(${TARGET_SERVER} PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON )
❤ 1
12:52
both kinda don't do anything, as I'm getting errors on c++17 "constructs"
Avatar
@jxsl13 i have the same problems with TravisCI, always hating on C++11 stuff
Avatar
example compiler warning: src/game/server/entities/character.cpp:580:56: warning: implicitly-declared ‘constexpr vector2_base<float>::vector2_base(const vector2_base<float>&)’ is deprecated [-Wdeprecated-copy] 580 | GameServer()->CreateSound(m_Pos, SOUND_WEAPON_NOAMMO); | fix: explicitly declare a copy constructor for vector2_base: src/base/vmath.h: add a copy constructor: ``` constexpr vector2_bas...
Avatar
my problem was, that debian's latest gcc version is 6.something
16:41
and the repos do not provide any newer versions, so I had to compile gcc-9 myself and install it manually. (edited)
Exported 9 message(s)