* Package: games-simulation/simutrans-0.120.2.2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking simutrans-src-120-2-2.zip to /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work >>> Unpacking simupak64-120-2.zip to /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work >>> Unpacking language_pack-Base+texts.zip to /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work/simutrans/text >>> Source unpacked in /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work >>> Preparing source in /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work ... * Applying simutrans-0.120.2.2-Makefile.patch ... [ ok ] * strip-flags: CFLAGS: changed '-O2 -pipe -march=native ' to '-O2 -pipe -march=native' * strip-flags: CXXFLAGS: changed '-O2 -pipe -march=native ' to '-O2 -pipe -march=native' >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-simulation/simutrans-0.120.2.2/work ... make -j1 ===> HOSTCXX clipboard_internal.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/clipboard_internal.o clipboard_internal.cc In file included from simsys.h:11, from clipboard_internal.cc:12: simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX bauer/brueckenbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/brueckenbauer.o bauer/brueckenbauer.cc In file included from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/brueckenbauer.cc:10: bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../tpl/weighted_vector_tpl.h:7, from bauer/../simworld.h:23, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/brueckenbauer.cc:17: bauer/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: bauer/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../gui/components/gui_container.h:23, from bauer/../gui/gui_frame.h:20, from bauer/../gui/tool_selector.h:14, from bauer/brueckenbauer.cc:24: bauer/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: bauer/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/tool_selector.h:14, from bauer/brueckenbauer.cc:24: bauer/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: bauer/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/brueckenbauer.cc:25: bauer/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: bauer/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:749:68: required from here bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:767:78: required from here bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX bauer/fabrikbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/fabrikbauer.o bauer/fabrikbauer.cc In file included from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/fabrikbauer.cc:9: bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../tpl/hashtable_tpl.h:5, from bauer/../tpl/stringhashtable_tpl.h:8, from bauer/fabrikbauer.h:11, from bauer/fabrikbauer.cc:10: bauer/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/../gui/karte.h:4, from bauer/fabrikbauer.cc:34: bauer/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: bauer/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from bauer/../descriptor/../display/simgraph.h:22, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.h:11, from bauer/fabrikbauer.cc:11: bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/fabrikbauer.cc:34: bauer/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: bauer/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from bauer/../descriptor/../display/simgraph.h:22, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.h:11, from bauer/fabrikbauer.cc:11: bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:749:68: required from here bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:767:78: required from here bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../dataobj/koord3d.h:7, from bauer/fabrikbauer.h:13, from bauer/fabrikbauer.cc:10: bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/fabrikbauer.cc:12: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX bauer/hausbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/hausbauer.o bauer/hausbauer.cc In file included from bauer/../descriptor/../display/../unicode.h:5, from bauer/../descriptor/../display/simgraph.h:18, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.cc:10: bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../boden/../dataobj/../tpl/vector_tpl.h:6, from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/../gui/karte.h:4, from bauer/hausbauer.cc:23: bauer/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: bauer/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from bauer/../descriptor/../display/simgraph.h:22, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.cc:10: bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/hausbauer.cc:23: bauer/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: bauer/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from bauer/../descriptor/../display/simgraph.h:22, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.cc:10: bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/tool_selector.h:14, from bauer/hausbauer.cc:24: bauer/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: bauer/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from bauer/../descriptor/../display/simgraph.h:22, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.cc:10: bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/hausbauer.cc:28: bauer/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: bauer/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:749:68: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:767:78: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../boden/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:743:72: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ bauer/../boden/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ bauer/../simhalt.h:761:82: required from here bauer/../boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../boden/../halthandle_t.h:4, from bauer/../boden/grund.h:12, from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ bauer/hausbauer.cc: In static member function ‘static bool hausbauer_t::successfully_loaded()’: bauer/hausbauer.cc:181:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 181 | if(strcmp(desc->get_name(),"MonorailGround")==0) { | ^~ bauer/hausbauer.cc:188:5: note: here 188 | default: | ^~~~~~~ ===> HOSTCXX bauer/tunnelbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/tunnelbauer.o bauer/tunnelbauer.cc In file included from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/tunnelbauer.cc:10: bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../dataobj/../tpl/vector_tpl.h:6, from bauer/../dataobj/koord3d.h:7, from bauer/tunnelbauer.h:13, from bauer/tunnelbauer.cc:12: bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/../gui/karte.h:4, from bauer/tunnelbauer.cc:14: bauer/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: bauer/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from bauer/../gui/components/gui_komponente.h:11, from bauer/../gui/karte.h:4, from bauer/tunnelbauer.cc:14: bauer/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/tunnelbauer.cc:14: bauer/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: bauer/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from bauer/../gui/components/gui_komponente.h:11, from bauer/../gui/karte.h:4, from bauer/tunnelbauer.cc:14: bauer/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/base_info.h:4, from bauer/../gui/messagebox.h:4, from bauer/tunnelbauer.cc:32: bauer/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: bauer/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from bauer/../gui/components/gui_komponente.h:11, from bauer/../gui/karte.h:4, from bauer/tunnelbauer.cc:14: bauer/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX bauer/vehikelbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/vehikelbauer.o bauer/vehikelbauer.cc In file included from bauer/../vehicle/simvehicle.h:15, from bauer/vehikelbauer.cc:9: bauer/../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../vehicle/../dataobj/../tpl/vector_tpl.h:6, from bauer/../vehicle/../dataobj/koord3d.h:7, from bauer/../vehicle/../simobj.h:15, from bauer/../vehicle/simvehicle.h:16, from bauer/vehikelbauer.cc:9: bauer/../vehicle/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX bauer/goods_manager.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/goods_manager.o bauer/goods_manager.cc In file included from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/goods_manager.cc:8: bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../tpl/vector_tpl.h:6, from bauer/goods_manager.h:11, from bauer/goods_manager.cc:13: bauer/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/goods_manager.cc:11: bauer/../simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: bauer/../simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from bauer/../halthandle_t.h:4, from bauer/../simware.h:4, from bauer/goods_manager.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/goods_manager.cc:11: bauer/../simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: bauer/../simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from bauer/../halthandle_t.h:4, from bauer/../simware.h:4, from bauer/goods_manager.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX bauer/wegbauer.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/bauer/wegbauer.o bauer/wegbauer.cc In file included from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/wegbauer.cc:14: bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] bauer/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from bauer/../tpl/weighted_vector_tpl.h:7, from bauer/../simworld.h:23, from bauer/wegbauer.cc:15: bauer/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from bauer/wegbauer.cc:21: bauer/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: bauer/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, from bauer/wegbauer.cc:15: bauer/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../gui/karte.h:4, from bauer/wegbauer.cc:68: bauer/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: bauer/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/wegbauer.cc:15: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/wegbauer.cc:68: bauer/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: bauer/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/wegbauer.cc:15: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/tool_selector.h:14, from bauer/wegbauer.cc:69: bauer/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: bauer/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from bauer/../boden/wege/../../descriptor/../display/simgraph.h:22, from bauer/../boden/wege/../../descriptor/image.h:10, from bauer/../boden/wege/../../descriptor/image_list.h:10, from bauer/../boden/wege/../../descriptor/way_desc.h:10, from bauer/../boden/wege/weg.h:14, from bauer/../boden/grund.h:19, from bauer/../simplan.h:12, from bauer/../simworld.h:31, from bauer/wegbauer.cc:15: bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ bauer/wegbauer.cc: In member function ‘void way_builder_t::check_for_bridge(const grund_t*, const grund_t*, const vector_tpl&)’: bauer/wegbauer.cc:1096:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 1096 | } | ^ bauer/wegbauer.cc:1099:4: note: here 1099 | default: | ^~~~~~~ ===> HOSTCXX descriptor/image.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/image.o descriptor/image.cc In file included from descriptor/../display/../unicode.h:5, from descriptor/../display/simgraph.h:18, from descriptor/image.h:10, from descriptor/image.cc:1: descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/image.cc:5: descriptor/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX descriptor/bridge_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/bridge_desc.o descriptor/bridge_desc.cc In file included from descriptor/../utils/log.h:13, from descriptor/../simdebug.h:23, from descriptor/bridge_desc.cc:1: descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/factory_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/factory_desc.o descriptor/factory_desc.cc In file included from descriptor/obj_desc.h:11, from descriptor/factory_desc.h:10, from descriptor/factory_desc.cc:1: descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/../tpl/weighted_vector_tpl.h:7, from descriptor/factory_desc.h:15, from descriptor/factory_desc.cc:1: descriptor/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX descriptor/ground_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/ground_desc.o descriptor/ground_desc.cc In file included from descriptor/../utils/log.h:13, from descriptor/../simdebug.h:23, from descriptor/ground_desc.cc:14: descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/../tpl/weighted_vector_tpl.h:7, from descriptor/../simworld.h:23, from descriptor/ground_desc.cc:15: descriptor/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX descriptor/building_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/building_desc.o descriptor/building_desc.cc In file included from descriptor/../utils/log.h:13, from descriptor/../simdebug.h:23, from descriptor/building_desc.cc:6: descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/../tpl/weighted_vector_tpl.h:7, from descriptor/../simworld.h:23, from descriptor/building_desc.cc:8: descriptor/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/building_desc.cc: In member function ‘sint32 building_desc_t::get_price(karte_t*) const’: descriptor/building_desc.cc:209:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 209 | switch(get_extra()) { | ^~~~~~ descriptor/building_desc.cc:220:4: note: here 220 | case depot: | ^~~~ ===> HOSTCXX descriptor/obj_base_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/obj_base_desc.o descriptor/obj_base_desc.cc In file included from descriptor/obj_desc.h:11, from descriptor/text_desc.h:10, from descriptor/obj_base_desc.h:4, from descriptor/obj_base_desc.cc:1: descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/reader/bridge_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/bridge_reader.o descriptor/reader/bridge_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/bridge_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/../dataobj/koord3d.h:7, from descriptor/reader/../../bauer/brueckenbauer.h:11, from descriptor/reader/bridge_reader.cc:4: descriptor/reader/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/bridge_reader.cc: In member function ‘virtual obj_desc_t* bridge_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/bridge_reader.cc:33:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 33 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/building_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/building_reader.o descriptor/reader/building_reader.cc In file included from descriptor/reader/../../bauer/../descriptor/../display/../unicode.h:5, from descriptor/reader/../../bauer/../descriptor/../display/simgraph.h:18, from descriptor/reader/../../bauer/../descriptor/image.h:10, from descriptor/reader/../../bauer/../descriptor/image_list.h:10, from descriptor/reader/../../bauer/../descriptor/image_array.h:10, from descriptor/reader/../../bauer/../descriptor/building_desc.h:11, from descriptor/reader/../../bauer/hausbauer.h:11, from descriptor/reader/building_reader.cc:3: descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/../dataobj/koord3d.h:7, from descriptor/reader/../../bauer/hausbauer.h:12, from descriptor/reader/building_reader.cc:3: descriptor/reader/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/building_reader.cc: In member function ‘virtual obj_desc_t* tile_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/building_reader.cc:30:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 30 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/building_reader.cc: In member function ‘virtual obj_desc_t* building_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/building_reader.cc:214:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 214 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/citycar_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/citycar_reader.o descriptor/reader/citycar_reader.cc In file included from descriptor/reader/../../vehicle/simvehicle.h:15, from descriptor/reader/citycar_reader.cc:4: descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../vehicle/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../vehicle/../dataobj/koord3d.h:7, from descriptor/reader/../../vehicle/../simobj.h:15, from descriptor/reader/../../vehicle/simvehicle.h:16, from descriptor/reader/citycar_reader.cc:4: descriptor/reader/../../vehicle/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/citycar_reader.cc: In member function ‘virtual obj_desc_t* citycar_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/citycar_reader.cc:41:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/crossing_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/crossing_reader.o descriptor/reader/crossing_reader.cc In file included from descriptor/reader/../../dataobj/crossing_logic.h:11, from descriptor/reader/crossing_reader.cc:3: descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../network/../tpl/hashtable_tpl.h:5, from descriptor/reader/../../network/../tpl/stringhashtable_tpl.h:8, from descriptor/reader/../../network/pakset_info.h:4, from descriptor/reader/crossing_reader.cc:12: descriptor/reader/../../network/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/crossing_reader.cc: In member function ‘virtual obj_desc_t* crossing_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/crossing_reader.cc:35:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 35 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/factory_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/factory_reader.o descriptor/reader/factory_reader.cc In file included from descriptor/reader/../../dataobj/ribi.h:11, from descriptor/reader/../../dataobj/koord.h:4, from descriptor/reader/../../dataobj/koord3d.h:4, from descriptor/reader/../../simfab.h:11, from descriptor/reader/factory_reader.cc:2: descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../dataobj/koord3d.h:7, from descriptor/reader/../../simfab.h:11, from descriptor/reader/factory_reader.cc:2: descriptor/reader/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_field_class_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:38:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_field_group_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:71:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_smoke_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:165:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 165 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_supplier_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:192:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 192 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_product_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:230:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 230 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function ‘virtual obj_desc_t* factory_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/factory_reader.cc:268:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/good_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/good_reader.o descriptor/reader/good_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/good_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/goods_manager.h:11, from descriptor/reader/good_reader.cc:3: descriptor/reader/../../bauer/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/good_reader.cc: In member function ‘virtual obj_desc_t* goods_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/good_reader.cc:44:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/ground_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/ground_reader.o descriptor/reader/ground_reader.cc In file included from descriptor/reader/../obj_desc.h:11, from descriptor/reader/../text_desc.h:10, from descriptor/reader/../obj_base_desc.h:4, from descriptor/reader/../ground_desc.h:10, from descriptor/reader/ground_reader.cc:3: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/reader/groundobj_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/groundobj_reader.o descriptor/reader/groundobj_reader.cc In file included from descriptor/reader/../../simobj.h:11, from descriptor/reader/groundobj_reader.cc:4: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../dataobj/koord3d.h:7, from descriptor/reader/../../simobj.h:15, from descriptor/reader/groundobj_reader.cc:4: descriptor/reader/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/groundobj_reader.cc: In member function ‘virtual obj_desc_t* groundobj_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/groundobj_reader.cc:45:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/image_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/image_reader.o descriptor/reader/image_reader.cc In file included from descriptor/reader/../../display/../unicode.h:5, from descriptor/reader/../../display/simgraph.h:18, from descriptor/reader/image_reader.cc:4: descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../tpl/hashtable_tpl.h:5, from descriptor/reader/../../tpl/inthashtable_tpl.h:8, from descriptor/reader/image_reader.cc:13: descriptor/reader/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/image_reader.cc: In member function ‘virtual obj_desc_t* image_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/image_reader.cc:28:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/imagelist2d_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/imagelist2d_reader.o descriptor/reader/imagelist2d_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/imagelist2d_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/imagelist2d_reader.cc: In member function ‘virtual obj_desc_t* imagelist2d_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/imagelist2d_reader.cc:17:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/imagelist_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/imagelist_reader.o descriptor/reader/imagelist_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/imagelist_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/imagelist_reader.cc: In member function ‘virtual obj_desc_t* imagelist_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/imagelist_reader.cc:17:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/obj_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/obj_reader.o descriptor/reader/obj_reader.cc In file included from descriptor/reader/../../display/simimg.h:16, from descriptor/reader/obj_reader.cc:6: descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../dataobj/../tpl/hashtable_tpl.h:5, from descriptor/reader/../../dataobj/../tpl/stringhashtable_tpl.h:8, from descriptor/reader/../../dataobj/translator.h:12, from descriptor/reader/obj_reader.cc:16: descriptor/reader/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/obj_reader.cc: In function ‘void read_node_info(obj_node_info_t&, FILE*, uint32)’: descriptor/reader/obj_reader.cc:213:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 213 | fread(p, OBJ_NODE_INFO_SIZE, 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/obj_reader.cc:219:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 219 | fread(p, sizeof(data) - OBJ_NODE_INFO_SIZE, 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/pedestrian_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/pedestrian_reader.o descriptor/reader/pedestrian_reader.cc In file included from descriptor/reader/../../vehicle/simvehicle.h:15, from descriptor/reader/../../vehicle/simroadtraffic.h:15, from descriptor/reader/../../vehicle/simpeople.h:4, from descriptor/reader/pedestrian_reader.cc:9: descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../vehicle/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../vehicle/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../vehicle/../dataobj/koord3d.h:7, from descriptor/reader/../../vehicle/../simobj.h:15, from descriptor/reader/../../vehicle/simvehicle.h:16, from descriptor/reader/../../vehicle/simroadtraffic.h:15, from descriptor/reader/../../vehicle/simpeople.h:4, from descriptor/reader/pedestrian_reader.cc:9: descriptor/reader/../../vehicle/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/pedestrian_reader.cc: In member function ‘virtual obj_desc_t* pedestrian_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/pedestrian_reader.cc:52:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/roadsign_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/roadsign_reader.o descriptor/reader/roadsign_reader.cc In file included from descriptor/reader/../../obj/../simobj.h:11, from descriptor/reader/../../obj/roadsign.h:11, from descriptor/reader/roadsign_reader.cc:3: descriptor/reader/../../obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../obj/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../obj/../dataobj/koord3d.h:7, from descriptor/reader/../../obj/../simobj.h:15, from descriptor/reader/../../obj/roadsign.h:11, from descriptor/reader/roadsign_reader.cc:3: descriptor/reader/../../obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/roadsign_reader.cc: In member function ‘virtual obj_desc_t* roadsign_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/roadsign_reader.cc:40:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/root_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/root_reader.o descriptor/reader/root_reader.cc In file included from descriptor/reader/../obj_desc.h:11, from descriptor/reader/root_reader.cc:1: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/reader/sim_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/sim_reader.o descriptor/reader/sim_reader.cc In file included from descriptor/reader/../obj_node_info.h:10, from descriptor/reader/obj_reader.h:6, from descriptor/reader/text_reader.h:1, from descriptor/reader/sim_reader.cc:2: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/reader/skin_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/skin_reader.o descriptor/reader/skin_reader.cc In file included from descriptor/reader/../../simobj.h:11, from descriptor/reader/skin_reader.cc:3: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../dataobj/koord3d.h:7, from descriptor/reader/../../simobj.h:15, from descriptor/reader/skin_reader.cc:3: descriptor/reader/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX descriptor/reader/sound_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/sound_reader.o descriptor/reader/sound_reader.cc In file included from descriptor/reader/../obj_desc.h:11, from descriptor/reader/../text_desc.h:10, from descriptor/reader/../obj_base_desc.h:4, from descriptor/reader/../sound_desc.h:10, from descriptor/reader/sound_reader.cc:3: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/sound_reader.cc: In member function ‘virtual obj_desc_t* sound_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/sound_reader.cc:27:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/text_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/text_reader.o descriptor/reader/text_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/text_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/text_reader.cc: In member function ‘virtual obj_desc_t* text_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/text_reader.cc:15:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 15 | fread(desc->text, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/tree_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/tree_reader.o descriptor/reader/tree_reader.cc In file included from descriptor/reader/../../simobj.h:11, from descriptor/reader/tree_reader.cc:3: descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../dataobj/koord3d.h:7, from descriptor/reader/../../simobj.h:15, from descriptor/reader/tree_reader.cc:3: descriptor/reader/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/tree_reader.cc: In member function ‘virtual obj_desc_t* tree_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/tree_reader.cc:38:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 38 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/tunnel_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/tunnel_reader.o descriptor/reader/tunnel_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/tunnel_reader.cc:3: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/../dataobj/koord3d.h:7, from descriptor/reader/../../bauer/tunnelbauer.h:13, from descriptor/reader/tunnel_reader.cc:13: descriptor/reader/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/tunnel_reader.cc: In member function ‘virtual obj_desc_t* tunnel_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/tunnel_reader.cc:62:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/vehicle_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/vehicle_reader.o descriptor/reader/vehicle_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/vehicle_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/../dataobj/koord3d.h:7, from descriptor/reader/../../bauer/vehikelbauer.h:12, from descriptor/reader/vehicle_reader.cc:4: descriptor/reader/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/vehicle_reader.cc: In member function ‘virtual obj_desc_t* vehicle_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/vehicle_reader.cc:40:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/way_obj_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/way_obj_reader.o descriptor/reader/way_obj_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/way_obj_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../obj/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../obj/../dataobj/koord3d.h:7, from descriptor/reader/../../obj/../simobj.h:15, from descriptor/reader/../../obj/wayobj.h:13, from descriptor/reader/way_obj_reader.cc:6: descriptor/reader/../../obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/way_obj_reader.cc: In member function ‘virtual obj_desc_t* way_obj_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/way_obj_reader.cc:37:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/way_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/way_reader.o descriptor/reader/way_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/way_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/reader/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from descriptor/reader/../../bauer/../dataobj/koord3d.h:7, from descriptor/reader/../../bauer/wegbauer.h:12, from descriptor/reader/way_reader.cc:7: descriptor/reader/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ descriptor/reader/way_reader.cc: In member function ‘virtual obj_desc_t* way_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/way_reader.cc:41:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/xref_reader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/reader/xref_reader.o descriptor/reader/xref_reader.cc In file included from descriptor/reader/../../utils/log.h:13, from descriptor/reader/../../simdebug.h:23, from descriptor/reader/xref_reader.cc:2: descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/reader/xref_reader.cc: In member function ‘virtual obj_desc_t* xref_reader_t::read_node(FILE*, obj_node_info_t&)’: descriptor/reader/xref_reader.cc:14:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | fread(buf, 1, 5, fp); | ~~~~~^~~~~~~~~~~~~~~ descriptor/reader/xref_reader.cc:18:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 18 | fread(desc->name, 1, node.size - 4 - 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/sound_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/sound_desc.o descriptor/sound_desc.cc In file included from descriptor/../utils/log.h:13, from descriptor/../simdebug.h:23, from descriptor/sound_desc.cc:9: descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from descriptor/../dataobj/../tpl/hashtable_tpl.h:5, from descriptor/../dataobj/../tpl/stringhashtable_tpl.h:8, from descriptor/../dataobj/tabfile.h:14, from descriptor/sound_desc.cc:11: descriptor/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX descriptor/tunnel_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/tunnel_desc.o descriptor/tunnel_desc.cc In file included from descriptor/../dataobj/ribi.h:11, from descriptor/tunnel_desc.cc:9: descriptor/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/vehicle_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/vehicle_desc.o descriptor/vehicle_desc.cc In file included from descriptor/obj_desc.h:11, from descriptor/text_desc.h:10, from descriptor/obj_base_desc.h:4, from descriptor/vehicle_desc.h:10, from descriptor/vehicle_desc.cc:1: descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/goods_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/goods_desc.o descriptor/goods_desc.cc In file included from descriptor/obj_desc.h:11, from descriptor/text_desc.h:10, from descriptor/obj_base_desc.h:4, from descriptor/goods_desc.h:10, from descriptor/goods_desc.cc:1: descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX descriptor/way_desc.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/descriptor/way_desc.o descriptor/way_desc.cc In file included from descriptor/../display/../unicode.h:5, from descriptor/../display/simgraph.h:18, from descriptor/image.h:10, from descriptor/image_list.h:10, from descriptor/way_desc.h:10, from descriptor/way_desc.cc:11: descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX boden/boden.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/boden.o boden/boden.cc In file included from boden/../simworld.h:17, from boden/boden.cc:7: boden/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../tpl/weighted_vector_tpl.h:7, from boden/../simworld.h:23, from boden/boden.cc:7: boden/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/brueckenboden.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/brueckenboden.o boden/brueckenboden.cc In file included from boden/../utils/log.h:13, from boden/../simdebug.h:23, from boden/brueckenboden.cc:1: boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../tpl/weighted_vector_tpl.h:7, from boden/../simworld.h:23, from boden/brueckenboden.cc:2: boden/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/fundament.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/fundament.o boden/fundament.cc In file included from boden/../descriptor/obj_desc.h:11, from boden/../descriptor/text_desc.h:10, from boden/../descriptor/obj_base_desc.h:4, from boden/../descriptor/ground_desc.h:10, from boden/fundament.cc:9: boden/../descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../descriptor/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../descriptor/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../dataobj/../tpl/vector_tpl.h:6, from boden/../dataobj/koord3d.h:7, from boden/grund.h:16, from boden/fundament.cc:12: boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/grund.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/grund.o boden/grund.cc In file included from boden/../utils/log.h:13, from boden/../simdebug.h:23, from boden/grund.cc:10: boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../obj/../dataobj/../tpl/vector_tpl.h:6, from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from boden/grund.cc:11: boden/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: boden/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/grund.cc:13: boden/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: boden/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../gui/components/gui_container.h:23, from boden/../gui/gui_frame.h:20, from boden/../gui/base_info.h:4, from boden/../gui/ground_info.h:18, from boden/grund.cc:43: boden/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: boden/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from boden/../display/simgraph.h:22, from boden/grund.cc:12: boden/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from boden/../gui/base_info.h:4, from boden/../gui/ground_info.h:18, from boden/grund.cc:43: boden/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: boden/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from boden/../display/simgraph.h:22, from boden/grund.cc:12: boden/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from boden/grund.cc:44: boden/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: boden/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from boden/../display/simgraph.h:22, from boden/grund.cc:12: boden/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ boden/grund.cc: In member function ‘void grund_t::set_halt(halthandle_t)’: boden/grund.cc:668:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 668 | this_halt = halt; | ^~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/grund.cc:672:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 672 | this_halt = halthandle_t(); | ^ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:743:72: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:749:68: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:761:82: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:767:78: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ boden/../obj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:743:72: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, from boden/../simdepot.h:12, from boden/grund.cc:11: boden/../obj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/../obj/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ boden/../obj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/../simhalt.h:761:82: required from here boden/../obj/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from boden/../convoihandle_t.h:4, from boden/../simdepot.h:13, from boden/grund.cc:11: boden/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX boden/monorailboden.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/monorailboden.o boden/monorailboden.cc In file included from boden/../tpl/quickstone_tpl.h:4, from boden/../halthandle_t.h:4, from boden/grund.h:12, from boden/monorailboden.h:4, from boden/monorailboden.cc:1: boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../dataobj/../tpl/vector_tpl.h:6, from boden/../dataobj/koord3d.h:7, from boden/grund.h:16, from boden/monorailboden.h:4, from boden/monorailboden.cc:1: boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/tunnelboden.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/tunnelboden.o boden/tunnelboden.cc In file included from boden/../tpl/quickstone_tpl.h:4, from boden/../halthandle_t.h:4, from boden/grund.h:12, from boden/boden.h:11, from boden/tunnelboden.h:4, from boden/tunnelboden.cc:3: boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../dataobj/../tpl/vector_tpl.h:6, from boden/../dataobj/koord3d.h:7, from boden/grund.h:16, from boden/boden.h:11, from boden/tunnelboden.h:4, from boden/tunnelboden.cc:3: boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wasser.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wasser.o boden/wasser.cc In file included from boden/../tpl/quickstone_tpl.h:4, from boden/../halthandle_t.h:4, from boden/grund.h:12, from boden/wasser.h:4, from boden/wasser.cc:7: boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/../dataobj/../tpl/vector_tpl.h:6, from boden/../dataobj/koord3d.h:7, from boden/grund.h:16, from boden/wasser.h:4, from boden/wasser.cc:7: boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/kanal.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/kanal.o boden/wege/kanal.cc In file included from boden/wege/../../simworld.h:17, from boden/wege/kanal.cc:10: boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../tpl/weighted_vector_tpl.h:7, from boden/wege/../../simworld.h:23, from boden/wege/kanal.cc:10: boden/wege/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/maglev.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/maglev.o boden/wege/maglev.cc In file included from boden/wege/maglev.cc:1: boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../bauer/../dataobj/koord3d.h:7, from boden/wege/../../bauer/wegbauer.h:12, from boden/wege/maglev.cc:2: boden/wege/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/monorail.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/monorail.o boden/wege/monorail.cc In file included from boden/wege/monorail.cc:1: boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../bauer/../dataobj/koord3d.h:7, from boden/wege/../../bauer/wegbauer.h:12, from boden/wege/monorail.cc:2: boden/wege/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/narrowgauge.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/narrowgauge.o boden/wege/narrowgauge.cc In file included from boden/wege/../../bauer/wegbauer.h:11, from boden/wege/narrowgauge.cc:1: boden/wege/../../bauer/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../bauer/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../bauer/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../bauer/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../bauer/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../bauer/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../bauer/../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../bauer/../dataobj/koord3d.h:7, from boden/wege/../../bauer/wegbauer.h:12, from boden/wege/narrowgauge.cc:1: boden/wege/../../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/runway.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/runway.o boden/wege/runway.cc In file included from boden/wege/../../simworld.h:17, from boden/wege/runway.cc:8: boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../tpl/weighted_vector_tpl.h:7, from boden/wege/../../simworld.h:23, from boden/wege/runway.cc:8: boden/wege/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/schiene.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/schiene.o boden/wege/schiene.cc In file included from boden/wege/../../simconvoi.h:9, from boden/wege/schiene.cc:10: boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../dataobj/../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../dataobj/../dataobj/koord3d.h:7, from boden/wege/../../dataobj/route.h:13, from boden/wege/../../simconvoi.h:16, from boden/wege/schiene.cc:10: boden/wege/../../dataobj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from boden/wege/schiene.cc:10: boden/wege/../../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: boden/wege/../../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/wege/schiene.cc: In constructor ‘schiene_t::schiene_t()’: boden/wege/schiene.cc:30:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 30 | reserved = convoihandle_t(); | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/wege/schiene.cc: In constructor ‘schiene_t::schiene_t(loadsave_t*)’: boden/wege/schiene.cc:37:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 37 | reserved = convoihandle_t(); | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/wege/schiene.cc: In member function ‘bool schiene_t::reserve(convoihandle_t, ribi_t::ribi)’: boden/wege/schiene.cc:79:14: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 79 | reserved = c; | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/wege/schiene.cc: In member function ‘bool schiene_t::unreserve(convoihandle_t)’: boden/wege/schiene.cc:109:29: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 109 | reserved = convoihandle_t(); | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ boden/wege/schiene.cc: In member function ‘bool schiene_t::unreserve(vehicle_t*)’: boden/wege/schiene.cc:132:29: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 132 | reserved = convoihandle_t(); | ^ In file included from boden/wege/../../linehandle_t.h:4, from boden/wege/../../simconvoi.h:12, from boden/wege/schiene.cc:10: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX boden/wege/strasse.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/strasse.o boden/wege/strasse.cc In file included from boden/wege/../../display/simimg.h:16, from boden/wege/weg.h:11, from boden/wege/strasse.h:4, from boden/wege/strasse.cc:10: boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/strasse.h:4, from boden/wege/strasse.cc:10: boden/wege/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX boden/wege/weg.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/boden/wege/weg.o boden/wege/weg.cc In file included from boden/wege/../../display/simimg.h:16, from boden/wege/weg.h:11, from boden/wege/weg.cc:19: boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] boden/wege/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from boden/wege/../../dataobj/../tpl/vector_tpl.h:6, from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:743:72: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:749:68: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:761:82: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:767:78: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:743:72: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, from boden/wege/weg.cc:19: boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ boden/wege/../../simhalt.h:761:82: required from here boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from boden/wege/../../convoihandle_t.h:4, from boden/wege/schiene.h:13, from boden/wege/weg.cc:21: boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX dataobj/crossing_logic.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/crossing_logic.o dataobj/crossing_logic.cc In file included from dataobj/../utils/log.h:13, from dataobj/../simdebug.h:23, from dataobj/crossing_logic.cc:10: dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../vehicle/../dataobj/../tpl/vector_tpl.h:6, from dataobj/../vehicle/../dataobj/koord3d.h:7, from dataobj/../vehicle/../simobj.h:15, from dataobj/../vehicle/simvehicle.h:16, from dataobj/crossing_logic.cc:11: dataobj/../vehicle/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ dataobj/crossing_logic.cc: In static member function ‘static void crossing_logic_t::register_desc(crossing_desc_t*)’: dataobj/crossing_logic.cc:209:25: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 209 | const waytype_t way0 = (const waytype_t)min(desc->get_waytype(0), desc->get_waytype(1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dataobj/crossing_logic.cc:210:25: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 210 | const waytype_t way1 = (const waytype_t)max(desc->get_waytype(0), desc->get_waytype(1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX dataobj/objlist.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/objlist.o dataobj/objlist.cc In file included from dataobj/../utils/log.h:13, from dataobj/../simdebug.h:23, from dataobj/objlist.cc:8: dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/weighted_vector_tpl.h:7, from dataobj/../simworld.h:23, from dataobj/objlist.cc:10: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from dataobj/objlist.cc:31: dataobj/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: dataobj/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/objlist.cc:10: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ dataobj/objlist.cc: In member function ‘void objlist_t::rdwr(loadsave_t*, koord3d)’: dataobj/objlist.cc:846:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 846 | typ = obj_t::pedestrian; | ~~~~^~~~~~~~~~~~~~~~~~~ dataobj/objlist.cc:847:5: note: here 847 | case obj_t::pedestrian: | ^~~~ dataobj/objlist.cc:863:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 863 | typ = obj_t::road_user; | ~~~~^~~~~~~~~~~~~~~~~~ dataobj/objlist.cc:864:5: note: here 864 | case obj_t::road_user: | ^~~~ dataobj/objlist.cc:879:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 879 | typ = obj_t::monoraildepot; | ~~~~^~~~~~~~~~~~~~~~~~~~~~ dataobj/objlist.cc:880:5: note: here 880 | case obj_t::monoraildepot: | ^~~~ dataobj/objlist.cc:884:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 884 | typ = obj_t::tramdepot; | ~~~~^~~~~~~~~~~~~~~~~~ dataobj/objlist.cc:885:5: note: here 885 | case obj_t::tramdepot: | ^~~~ dataobj/objlist.cc:895:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 895 | typ = obj_t::airdepot; | ~~~~^~~~~~~~~~~~~~~~~ dataobj/objlist.cc:896:5: note: here 896 | case obj_t::airdepot: | ^~~~ dataobj/objlist.cc:932:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 932 | typ = obj_t::pillar; | ~~~~^~~~~~~~~~~~~~~ dataobj/objlist.cc:933:5: note: here 933 | case obj_t::pillar: | ^~~~ dataobj/objlist.cc:1013:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 1013 | typ = obj_t::roadsign; | ~~~~^~~~~~~~~~~~~~~~~ dataobj/objlist.cc:1014:5: note: here 1014 | case obj_t::roadsign: | ^~~~ ===> HOSTCXX dataobj/settings.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/settings.o dataobj/settings.cc In file included from dataobj/settings.h:5, from dataobj/settings.cc:12: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/environment.h:11, from dataobj/settings.cc:13: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX dataobj/freelist.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/freelist.o dataobj/freelist.cc In file included from dataobj/freelist.cc:5: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX dataobj/gameinfo.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/gameinfo.o dataobj/gameinfo.cc In file included from dataobj/gameinfo.h:5, from dataobj/gameinfo.cc:9: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../network/../tpl/vector_tpl.h:6, from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from dataobj/../gui/karte.h:4, from dataobj/gameinfo.cc:21: dataobj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: dataobj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from dataobj/environment.h:9, from dataobj/gameinfo.cc:14: dataobj/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from dataobj/gameinfo.cc:21: dataobj/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: dataobj/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from dataobj/environment.h:9, from dataobj/gameinfo.cc:14: dataobj/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../network/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../network/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../network/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:749:68: required from here dataobj/../network/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../network/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../network/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../network/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:767:78: required from here dataobj/../network/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../network/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../network/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../network/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: dataobj/../network/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../network/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../network/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../network/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX dataobj/height_map_loader.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/height_map_loader.o dataobj/height_map_loader.cc In file included from dataobj/environment.h:5, from dataobj/height_map_loader.cc:7: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/environment.h:11, from dataobj/height_map_loader.cc:7: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ dataobj/height_map_loader.cc: In member function ‘bool height_map_loader_t::get_height_data_from_file(const char*, sint8, sint8*&, sint16&, sint16&, bool)’: dataobj/height_map_loader.cc:57:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | fread( &data_offset, 4, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dataobj/height_map_loader.cc:59:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 59 | fread( &w, 4, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~ dataobj/height_map_loader.cc:60:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 60 | fread( &h, 4, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~ dataobj/height_map_loader.cc:62:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | fread( &bit_depth, 2, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dataobj/height_map_loader.cc:63:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | fread( &format, 4, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ dataobj/height_map_loader.cc:65:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | fread( &table, 4, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX dataobj/koord.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/koord.o dataobj/koord.cc In file included from dataobj/ribi.h:11, from dataobj/koord.h:4, from dataobj/koord.cc:1: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX dataobj/koord3d.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/koord3d.o dataobj/koord3d.cc In file included from dataobj/ribi.h:11, from dataobj/koord.h:4, from dataobj/koord3d.h:4, from dataobj/koord3d.cc:10: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/koord3d.h:7, from dataobj/koord3d.cc:10: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX dataobj/loadsave.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/loadsave.o dataobj/loadsave.cc In file included from dataobj/../simsys.h:11, from dataobj/loadsave.cc:8: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/loadsave.cc:10: dataobj/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX dataobj/marker.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/marker.o dataobj/marker.cc In file included from dataobj/marker.cc:7: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../boden/../dataobj/../tpl/vector_tpl.h:6, from dataobj/../boden/../dataobj/koord3d.h:7, from dataobj/../boden/grund.h:16, from dataobj/marker.cc:9: dataobj/../boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX dataobj/powernet.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/powernet.o dataobj/powernet.cc In file included from dataobj/../utils/log.h:13, from dataobj/../simdebug.h:23, from dataobj/powernet.cc:8: dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> HOSTCXX dataobj/records.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/records.o dataobj/records.cc In file included from dataobj/ribi.h:11, from dataobj/koord.h:4, from dataobj/records.h:9, from dataobj/records.cc:6: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../dataobj/../tpl/hashtable_tpl.h:5, from dataobj/../dataobj/../tpl/stringhashtable_tpl.h:8, from dataobj/../dataobj/translator.h:12, from dataobj/records.cc:7: dataobj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from dataobj/records.cc:11: dataobj/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: dataobj/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from dataobj/../convoihandle_t.h:4, from dataobj/records.h:10, from dataobj/records.cc:6: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ dataobj/records.cc: In member function ‘void records_t::notify_record(convoihandle_t, sint32, koord, uint32)’: dataobj/records.cc:64:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | sr->cnv = cnv; | ^~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/records.h:10, from dataobj/records.cc:6: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ dataobj/records.cc:71:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 71 | sr->cnv = cnv; | ^~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/records.h:10, from dataobj/records.cc:6: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX dataobj/ribi.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/ribi.o dataobj/ribi.cc In file included from dataobj/../utils/log.h:13, from dataobj/../simdebug.h:23, from dataobj/ribi.cc:9: dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/koord3d.h:7, from dataobj/ribi.cc:13: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX dataobj/route.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/route.o dataobj/route.cc In file included from dataobj/../simworld.h:17, from dataobj/route.cc:11: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/weighted_vector_tpl.h:7, from dataobj/../simworld.h:23, from dataobj/route.cc:11: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ dataobj/route.cc: In member function ‘bool route_t::intern_calc_route(karte_t*, koord3d, koord3d, test_driver_t*, sint32, uint32)’: dataobj/route.cc:530:10: warning: unused variable ‘best’ [-Wunused-variable] 530 | uint32 best = tmp->g; | ^~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:749:68: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:767:78: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/route.cc:11: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/route.cc:11: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX dataobj/scenario.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/scenario.o dataobj/scenario.cc In file included from dataobj/scenario.cc:2: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../player/../network/pwd_hash.h:6, from dataobj/../player/simplay.h:10, from dataobj/scenario.cc:5: dataobj/../player/../network/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from dataobj/../gui/components/gui_container.h:23, from dataobj/../gui/gui_frame.h:20, from dataobj/../gui/scenario_info.h:9, from dataobj/scenario.cc:22: dataobj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: dataobj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, from dataobj/../boden/wege/../../descriptor/image.h:10, from dataobj/../boden/wege/../../descriptor/image_list.h:10, from dataobj/../boden/wege/../../descriptor/way_desc.h:10, from dataobj/../boden/wege/weg.h:14, from dataobj/../boden/grund.h:19, from dataobj/../simplan.h:12, from dataobj/../simworld.h:31, from dataobj/scenario.cc:6: dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from dataobj/../gui/scenario_info.h:9, from dataobj/scenario.cc:22: dataobj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: dataobj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, from dataobj/../boden/wege/../../descriptor/image.h:10, from dataobj/../boden/wege/../../descriptor/image_list.h:10, from dataobj/../boden/wege/../../descriptor/way_desc.h:10, from dataobj/../boden/wege/weg.h:14, from dataobj/../boden/grund.h:19, from dataobj/../simplan.h:12, from dataobj/../simworld.h:31, from dataobj/scenario.cc:6: dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ dataobj/scenario.cc: In member function ‘bool scenario_t::forbidden_t::operator==(const scenario_t::forbidden_t&) const’: dataobj/scenario.cc:275:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 275 | eq = eq && (pos_se == other.pos_se); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dataobj/scenario.cc:276:4: note: here 276 | case forbid_tool: | ^~~~ dataobj/scenario.cc: In member function ‘plainstring scenario_t::load_language_file(const char*)’: dataobj/scenario.cc:726:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 726 | fread(buf, 1, len, file); | ~~~~~^~~~~~~~~~~~~~~~~~~ ===> HOSTCXX dataobj/schedule.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/schedule.o dataobj/schedule.cc In file included from dataobj/../utils/log.h:13, from dataobj/../simdebug.h:23, from dataobj/schedule.cc:5: dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/weighted_vector_tpl.h:7, from dataobj/../simworld.h:23, from dataobj/schedule.cc:8: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from dataobj/../gui/components/gui_container.h:23, from dataobj/../gui/gui_frame.h:20, from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, from dataobj/schedule.cc:13: dataobj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: dataobj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, from dataobj/../boden/wege/../../descriptor/image.h:10, from dataobj/../boden/wege/../../descriptor/image_list.h:10, from dataobj/../boden/wege/../../descriptor/way_desc.h:10, from dataobj/../boden/wege/weg.h:14, from dataobj/../boden/grund.h:19, from dataobj/../simplan.h:12, from dataobj/../simworld.h:31, from dataobj/schedule.cc:8: dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, from dataobj/schedule.cc:13: dataobj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: dataobj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, from dataobj/../boden/wege/../../descriptor/image.h:10, from dataobj/../boden/wege/../../descriptor/image_list.h:10, from dataobj/../boden/wege/../../descriptor/way_desc.h:10, from dataobj/../boden/wege/weg.h:14, from dataobj/../boden/grund.h:19, from dataobj/../simplan.h:12, from dataobj/../simworld.h:31, from dataobj/schedule.cc:8: dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from dataobj/schedule.cc:18: dataobj/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: dataobj/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:749:68: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:767:78: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::insert_at(uint32, const T&) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:173:4: required from ‘T* vector_tpl::insert_unique_ordered(const T&, StrictWeakOrdering) [with StrictWeakOrdering = HaltIdOrdering; T = quickstone_tpl]’ dataobj/schedule.cc:371:56: required from here dataobj/../tpl/vector_tpl.h:120:14: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 120 | data[i] = data[i - 1]; | ~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h:122:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 122 | data[pos] = elem; | ~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ dataobj/../simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:117:6: required from ‘void vector_tpl::insert_at(uint32, const T&) [with T = quickstone_tpl; uint32 = unsigned int]’ dataobj/../tpl/vector_tpl.h:173:4: required from ‘T* vector_tpl::insert_unique_ordered(const T&, StrictWeakOrdering) [with StrictWeakOrdering = HaltIdOrdering; T = quickstone_tpl]’ dataobj/schedule.cc:371:56: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:126:5: required from ‘void vector_tpl::insert_at(uint32, const T&) [with T = quickstone_tpl; uint32 = unsigned int]’ dataobj/../tpl/vector_tpl.h:173:4: required from ‘T* vector_tpl::insert_unique_ordered(const T&, StrictWeakOrdering) [with StrictWeakOrdering = HaltIdOrdering; T = quickstone_tpl]’ dataobj/schedule.cc:371:56: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/schedule.cc:8: dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX dataobj/tabfile.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/tabfile.o dataobj/tabfile.cc In file included from dataobj/../simsys.h:11, from dataobj/tabfile.cc:16: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/hashtable_tpl.h:5, from dataobj/../tpl/stringhashtable_tpl.h:8, from dataobj/tabfile.h:14, from dataobj/tabfile.cc:20: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ dataobj/tabfile.cc: In member function ‘const scr_size& tabfileobj_t::get_scr_size(const char*, scr_size)’: dataobj/tabfile.cc:129:8: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 129 | ret = def; | ^~~ In file included from dataobj/../descriptor/../display/simgraph.h:22, from dataobj/../descriptor/image.h:10, from dataobj/tabfile.cc:18: dataobj/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX dataobj/translator.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/translator.o dataobj/translator.cc In file included from dataobj/../macros.h:4, from dataobj/translator.cc:12: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/translator.cc:12: dataobj/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ dataobj/translator.cc: In function ‘bool is_unicode_file(FILE*)’: dataobj/translator.cc:103:7: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | fread( str, 1, 2, f ); | ~~~~~^~~~~~~~~~~~~~~~~ dataobj/translator.cc:114:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | fread( str, 1, 2, f ); | ~~~~~^~~~~~~~~~~~~~~~~ dataobj/translator.cc: In static member function ‘static bool translator::load(const string&)’: dataobj/translator.cc:428:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 428 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ dataobj/translator.cc:470:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 470 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~ dataobj/translator.cc:475:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 475 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ dataobj/translator.cc:495:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 495 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~ dataobj/translator.cc:501:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 501 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX dataobj/environment.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/dataobj/environment.o dataobj/environment.cc In file included from dataobj/environment.h:5, from dataobj/environment.cc:2: dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/environment.h:11, from dataobj/environment.cc:2: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/baum.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/baum.o obj/baum.cc In file included from obj/../utils/log.h:13, from obj/../simdebug.h:23, from obj/baum.cc:12: obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/baum.cc:13: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ obj/baum.cc: In static member function ‘static bool baum_t::successfully_loaded()’: obj/baum.cc:270:59: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 270 | memset( tree_id_to_image, -1, lengthof(tree_id_to_image) ); | ^ obj/baum.cc: In static member function ‘static uint8 baum_t::plant_tree_on_coordinate(koord, uint8, uint8)’: obj/baum.cc:118:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | if(((groundobj_t *)obj)->get_desc()->can_build_trees_here()) { | ^~ obj/baum.cc:122:6: note: here 122 | default: | ^~~~~~~ obj/baum.cc: In static member function ‘static bool baum_t::plant_tree_on_coordinate(koord, const tree_desc_t*, bool, bool)’: obj/baum.cc:160:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 160 | if(((groundobj_t *)(gr->obj_bei(0)))->get_desc()->can_build_trees_here()) { | ^~ obj/baum.cc:164:6: note: here 164 | default: | ^~~~~~~ ===> HOSTCXX obj/bruecke.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/bruecke.o obj/bruecke.cc In file included from obj/../simworld.h:17, from obj/bruecke.cc:7: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/bruecke.cc:7: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ obj/bruecke.cc: In member function ‘virtual void bruecke_t::finish_rd()’: obj/bruecke.cc:199:12: warning: enum constant in boolean context [-Wint-in-bool-context] 199 | if( !gr->is_kartenboden ) { | ^~~~~~~~~~~~~~ ===> HOSTCXX obj/crossing.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/crossing.o obj/crossing.cc In file included from obj/../utils/log.h:13, from obj/../simdebug.h:23, from obj/crossing.cc:10: obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/crossing.cc:11: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/field.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/field.o obj/field.cc In file included from obj/../simworld.h:17, from obj/field.cc:9: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/field.cc:9: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/gebaeude.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/gebaeude.o obj/gebaeude.cc In file included from obj/../bauer/../descriptor/../display/../unicode.h:5, from obj/../bauer/../descriptor/../display/simgraph.h:18, from obj/../bauer/../descriptor/image.h:10, from obj/../bauer/../descriptor/image_list.h:10, from obj/../bauer/../descriptor/image_array.h:10, from obj/../bauer/../descriptor/building_desc.h:11, from obj/../bauer/hausbauer.h:11, from obj/gebaeude.cc:18: obj/../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../bauer/../descriptor/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../bauer/../descriptor/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../bauer/../dataobj/../tpl/vector_tpl.h:6, from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/gui_frame.h:20, from obj/../gui/money_frame.h:11, from obj/gebaeude.cc:19: obj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: obj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from obj/../bauer/../descriptor/../display/simgraph.h:22, from obj/../bauer/../descriptor/image.h:10, from obj/../bauer/../descriptor/image_list.h:10, from obj/../bauer/../descriptor/image_array.h:10, from obj/../bauer/../descriptor/building_desc.h:11, from obj/../bauer/hausbauer.h:11, from obj/gebaeude.cc:18: obj/../bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../gui/money_frame.h:11, from obj/gebaeude.cc:19: obj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: obj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from obj/../bauer/../descriptor/../display/simgraph.h:22, from obj/../bauer/../descriptor/image.h:10, from obj/../bauer/../descriptor/image_list.h:10, from obj/../bauer/../descriptor/image_array.h:10, from obj/../bauer/../descriptor/building_desc.h:11, from obj/../bauer/hausbauer.h:11, from obj/gebaeude.cc:18: obj/../bauer/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:749:68: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:767:78: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../gui/../player/../linehandle_t.h:4, from obj/../gui/../player/../simlinemgmt.h:10, from obj/../gui/../player/simplay.h:12, from obj/../gui/money_frame.h:21, from obj/gebaeude.cc:19: obj/../gui/../player/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX obj/groundobj.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/groundobj.o obj/groundobj.cc In file included from obj/../utils/log.h:13, from obj/../simdebug.h:23, from obj/groundobj.cc:8: obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/groundobj.cc:9: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/label.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/label.o obj/label.cc In file included from obj/../simworld.h:17, from obj/label.cc:12: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/label.cc:12: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/gui_frame.h:20, from obj/../gui/label_info.h:11, from obj/label.cc:19: obj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: obj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/../simplan.h:12, from obj/../simworld.h:31, from obj/label.cc:12: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../gui/label_info.h:11, from obj/label.cc:19: obj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: obj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/../simplan.h:12, from obj/../simworld.h:31, from obj/label.cc:12: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:749:68: required from here obj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:767:78: required from here obj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/label.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX obj/leitung2.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/leitung2.o obj/leitung2.cc In file included from obj/../ifc/sync_steppable.h:4, from obj/leitung2.h:12, from obj/leitung2.cc:17: obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../dataobj/../tpl/vector_tpl.h:6, from obj/../dataobj/koord3d.h:7, from obj/leitung2.h:13, from obj/leitung2.cc:17: obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/pillar.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/pillar.o obj/pillar.cc In file included from obj/../simworld.h:17, from obj/pillar.cc:9: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/pillar.cc:9: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/roadsign.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/roadsign.o obj/roadsign.cc In file included from obj/../utils/log.h:13, from obj/../simdebug.h:23, from obj/roadsign.cc:15: obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../dataobj/../tpl/vector_tpl.h:6, from obj/../dataobj/koord3d.h:7, from obj/../simobj.h:15, from obj/roadsign.cc:16: obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/gui_frame.h:20, from obj/../gui/base_info.h:4, from obj/../gui/obj_info.h:13, from obj/../gui/trafficlight_info.h:15, from obj/roadsign.cc:33: obj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: obj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/../simplan.h:12, from obj/../simworld.h:31, from obj/../simtool.h:11, from obj/roadsign.cc:19: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../gui/base_info.h:4, from obj/../gui/obj_info.h:13, from obj/../gui/trafficlight_info.h:15, from obj/roadsign.cc:33: obj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: obj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/../simplan.h:12, from obj/../simworld.h:31, from obj/../simtool.h:11, from obj/roadsign.cc:19: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX obj/signal.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/signal.o obj/signal.cc In file included from obj/../utils/log.h:13, from obj/../simdebug.h:23, from obj/signal.cc:10: obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/signal.cc:11: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/tunnel.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/tunnel.o obj/tunnel.cc In file included from obj/../simworld.h:17, from obj/tunnel.cc:10: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/tunnel.cc:10: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/wayobj.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/wayobj.o obj/wayobj.cc In file included from obj/../boden/../tpl/quickstone_tpl.h:4, from obj/../boden/../halthandle_t.h:4, from obj/../boden/grund.h:12, from obj/wayobj.cc:14: obj/../boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../boden/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../boden/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../boden/../dataobj/../tpl/vector_tpl.h:6, from obj/../boden/../dataobj/koord3d.h:7, from obj/../boden/grund.h:16, from obj/wayobj.cc:14: obj/../boden/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/gui_frame.h:20, from obj/../gui/tool_selector.h:14, from obj/wayobj.cc:31: obj/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: obj/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/wayobj.cc:14: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from obj/../gui/tool_selector.h:14, from obj/wayobj.cc:31: obj/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: obj/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from obj/../boden/wege/../../descriptor/../display/simgraph.h:22, from obj/../boden/wege/../../descriptor/image.h:10, from obj/../boden/wege/../../descriptor/image_list.h:10, from obj/../boden/wege/../../descriptor/way_desc.h:10, from obj/../boden/wege/weg.h:14, from obj/../boden/grund.h:19, from obj/wayobj.cc:14: obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX obj/wolke.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/wolke.o obj/wolke.cc In file included from obj/../simworld.h:17, from obj/wolke.cc:11: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/wolke.cc:11: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ ===> HOSTCXX obj/zeiger.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/obj/zeiger.o obj/zeiger.cc In file included from obj/../simworld.h:17, from obj/zeiger.cc:12: obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] obj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from obj/../tpl/weighted_vector_tpl.h:7, from obj/../simworld.h:23, from obj/zeiger.cc:12: obj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:749:68: required from here obj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:767:78: required from here obj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:743:72: required from here obj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: obj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ obj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ obj/../simhalt.h:761:82: required from here obj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from obj/../convoihandle_t.h:4, from obj/../simworld.h:20, from obj/zeiger.cc:12: obj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX display/font.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/display/font.o display/font.cc In file included from display/font.cc:4: display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from display/font.cc:7: display/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ display/font.cc: In function ‘bool dsp_read_bdf_font(FILE*, font_type*)’: display/font.cc:159:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 159 | fgets(str, sizeof(str), fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ display/font.cc: In function ‘sint32 dsp_read_bdf_glyph(FILE*, uint8*, uint8*, int, int, int)’: display/font.cc:64:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | fgets(str, sizeof(str), fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ display/font.cc:102:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | fgets(str, sizeof(str), fin); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX display/simgraph16.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/display/simgraph16.o display/simgraph16.cc In file included from display/../macros.h:4, from display/simgraph16.cc:12: display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from display/simgraph16.cc:12: display/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from display/simgraph16.cc:18: display/simgraph16.cc: In function ‘void register_image(image_t*)’: display/../simmem.h:21:47: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 21 | #define REALLOC(ptr, type, n) (type*)xrealloc((void * const)ptr, sizeof(type) * (n)) // Reallocate n objects of a certain type display/simgraph16.cc:2064:12: note: in expansion of macro ‘REALLOC’ 2064 | images = REALLOC(images, imd, alloc_images); | ^~~~~~~ display/simgraph16.cc: In function ‘uint32 get_color_rgb(uint8)’: display/simgraph16.cc:734:38: warning: array subscript 675 is above array bounds of ‘uint8 [45]’ {aka ‘unsigned char [45]’} [-Warray-bounds] 734 | return display_day_lights[idx*3 + 0]<<16 | display_day_lights[idx*3 + 1]<<8 | display_day_lights[idx*3 + 2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ display/simgraph16.cc:428:7: note: while referencing ‘display_day_lights’ 428 | uint8 display_day_lights[LIGHT_COUNT*3] = { | ^~~~~~~~~~~~~~~~~~ display/simgraph16.cc:734:74: warning: array subscript 676 is above array bounds of ‘uint8 [45]’ {aka ‘unsigned char [45]’} [-Warray-bounds] 734 | lay_day_lights[idx*3 + 0]<<16 | display_day_lights[idx*3 + 1]<<8 | display_day_lights[idx*3 + 2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ display/simgraph16.cc:428:7: note: while referencing ‘display_day_lights’ 428 | uint8 display_day_lights[LIGHT_COUNT*3] = { | ^~~~~~~~~~~~~~~~~~ display/simgraph16.cc:734:109: warning: array subscript 677 is above array bounds of ‘uint8 [45]’ {aka ‘unsigned char [45]’} [-Warray-bounds] 734 | <16 | display_day_lights[idx*3 + 1]<<8 | display_day_lights[idx*3 + 2]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ display/simgraph16.cc:428:7: note: while referencing ‘display_day_lights’ 428 | uint8 display_day_lights[LIGHT_COUNT*3] = { | ^~~~~~~~~~~~~~~~~~ ===> HOSTCXX display/simview.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/display/simview.o display/simview.cc In file included from display/../simworld.h:17, from display/simview.cc:9: display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from display/../tpl/weighted_vector_tpl.h:7, from display/../simworld.h:23, from display/simview.cc:9: display/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from display/simview.cc:12: display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from display/../convoihandle_t.h:4, from display/../simworld.h:20, from display/simview.cc:9: display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX display/viewport.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/display/viewport.o display/viewport.cc In file included from display/viewport.h:10, from display/viewport.cc:7: display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from display/../dataobj/../tpl/vector_tpl.h:6, from display/../dataobj/koord3d.h:7, from display/viewport.h:13, from display/viewport.cc:7: display/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from display/viewport.cc:7: display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from display/../convoihandle_t.h:4, from display/viewport.h:14, from display/viewport.cc:7: display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ display/viewport.cc: In member function ‘void viewport_t::change_world_position(const koord3d&)’: display/viewport.cc:105:33: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 105 | follow_convoi = convoihandle_t(); | ^ In file included from display/../convoihandle_t.h:4, from display/viewport.h:14, from display/viewport.cc:7: display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ display/viewport.cc: In constructor ‘viewport_t::viewport_t(karte_t*, koord, sint16, sint16)’: display/viewport.cc:323:33: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 323 | follow_convoi = convoihandle_t(); | ^ In file included from display/../convoihandle_t.h:4, from display/viewport.h:14, from display/viewport.cc:7: display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX freight_list_sorter.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/freight_list_sorter.o freight_list_sorter.cc In file included from freight_list_sorter.h:6, from freight_list_sorter.cc:3: simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from freight_list_sorter.cc:6: simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from freight_list_sorter.cc:6: simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ simhalt.h:749:68: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ simhalt.h:767:78: required from here dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ simhalt.h:743:72: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, from freight_list_sorter.cc:4: dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ simhalt.h:761:82: required from here dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from convoihandle_t.h:4, from simhalt.h:11, from freight_list_sorter.cc:4: tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ freight_list_sorter.cc: In static member function ‘static bool freight_list_sorter_t::compare_ware(const ware_t&, const ware_t&)’: freight_list_sorter.cc:41:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 41 | dbg->error("freight_list_sorter::compare_ware()", "illegal sort mode!"); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ freight_list_sorter.cc:43:3: note: here 43 | case by_via_sum: | ^~~~ freight_list_sorter.cc:48:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 48 | } | ^ freight_list_sorter.cc:52:3: note: here 52 | case by_via: { // sort by via_destination name | ^~~~ freight_list_sorter.cc:64:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 64 | } | ^ freight_list_sorter.cc:68:3: note: here 68 | case by_name: { // sort by destination name | ^~~~ ===> HOSTCXX gui/ai_option_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/ai_option_t.o gui/ai_option_t.cc In file included from gui/../player/../network/../macros.h:4, from gui/../player/../network/pwd_hash.h:6, from gui/../player/simplay.h:10, from gui/../player/ai.h:13, from gui/ai_option_t.cc:15: gui/../player/../network/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../player/../network/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../player/../network/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../player/../network/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../player/../network/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../player/../network/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../player/../network/pwd_hash.h:6, from gui/../player/simplay.h:10, from gui/../player/ai.h:13, from gui/ai_option_t.cc:15: gui/../player/../network/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/ai_option_t.h:11, from gui/ai_option_t.cc:20: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, from gui/../player/../finder/../boden/wege/weg.h:14, from gui/../player/../finder/../boden/grund.h:19, from gui/../player/../finder/../simplan.h:12, from gui/../player/../finder/../simworld.h:31, from gui/../player/../finder/building_placefinder.h:12, from gui/../player/ai.h:15, from gui/ai_option_t.cc:15: gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/ai_option_t.h:11, from gui/ai_option_t.cc:20: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, from gui/../player/../finder/../boden/wege/weg.h:14, from gui/../player/../finder/../boden/grund.h:19, from gui/../player/../finder/../simplan.h:12, from gui/../player/../finder/../simworld.h:31, from gui/../player/../finder/building_placefinder.h:12, from gui/../player/ai.h:15, from gui/ai_option_t.cc:15: gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/ai_selector.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/ai_selector.o gui/ai_selector.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/ai_selector.cc:6: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/savegame_frame.h:14, from gui/ai_selector.h:10, from gui/ai_selector.cc:8: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/ai_selector.h:10, from gui/ai_selector.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/ai_selector.h:10, from gui/ai_selector.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/ai_selector.h:10, from gui/ai_selector.cc:8: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/ai_selector.h:10, from gui/ai_selector.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/banner.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/banner.o gui/banner.cc In file included from gui/../display/simimg.h:16, from gui/banner.cc:10: gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/banner.cc:11: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/banner.h:12, from gui/banner.cc:21: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/banner.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/banner.h:14, from gui/banner.cc:21: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/banner.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/banner.cc: In constructor ‘banner_t::banner_t()’: gui/banner.cc:81:104: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 81 | D_MARGIN_LEFT - (D_H_SPACE<<1) - D_MARGIN_RIGHT) / 3,D_BUTTON_HEIGHT ); | ^ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/banner.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/baum_edit.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/baum_edit.o gui/baum_edit.cc In file included from gui/../simworld.h:17, from gui/baum_edit.cc:14: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/baum_edit.cc:14: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/baum_edit.h:8, from gui/baum_edit.cc:28: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/baum_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/baum_edit.h:8, from gui/baum_edit.cc:28: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/baum_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/base_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/base_info.o gui/base_info.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/base_info.cc:1: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/base_info.cc:1: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/base_info.cc:1: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/base_info.cc:1: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/base_info.cc:1: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/base_info.cc:1: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/base_info.cc: In member function ‘void base_infowin_t::recalc_size()’: gui/base_info.cc:52:28: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 52 | size = textarea.get_size(); | ^ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/base_info.cc:1: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/citybuilding_edit.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/citybuilding_edit.o gui/citybuilding_edit.cc In file included from gui/../simworld.h:17, from gui/citybuilding_edit.cc:15: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/citybuilding_edit.cc:15: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/citybuilding_edit.h:8, from gui/citybuilding_edit.cc:29: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/citybuilding_edit.cc:15: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/citybuilding_edit.h:8, from gui/citybuilding_edit.cc:29: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/citybuilding_edit.cc:15: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/citylist_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/citylist_frame_t.o gui/citylist_frame_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/citylist_frame_t.h:8, from gui/citylist_frame_t.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/citylist_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/citylist_stats_t.o gui/citylist_stats_t.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_scrollbar.h:8, from gui/components/gui_scrolled_list.h:15, from gui/citylist_stats_t.h:13, from gui/citylist_stats_t.cc:12: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_scrolled_list.h:21, from gui/citylist_stats_t.h:13, from gui/citylist_stats_t.cc:12: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/citylist_stats_t.h:13, from gui/citylist_stats_t.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/citylist_stats_t.h:13, from gui/citylist_stats_t.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/city_info.h:14, from gui/citylist_stats_t.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/citylist_stats_t.h:13, from gui/citylist_stats_t.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/citylist_stats_t.cc:19: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/citylist_stats_t.cc:19: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/climates.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/climates.o gui/climates.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/climates.h:11, from gui/climates.cc:9: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/climates.h:11, from gui/climates.cc:9: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/climates.h:11, from gui/climates.cc:9: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/climates.h:11, from gui/climates.cc:9: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/climates.h:11, from gui/climates.cc:9: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/climates.h:11, from gui/climates.cc:9: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/climates.cc:10: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/gui_frame.h:16, from gui/climates.h:11, from gui/climates.cc:9: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/welt.h:19, from gui/climates.cc:11: gui/components/gui_map_preview.h: In member function ‘void gui_map_preview_t::set_map_data(array2d_tpl*, scr_size)’: gui/components/gui_map_preview.h:45:15: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 45 | map_size = max_size_par; | ^~~~~~~~~~~~ In file included from gui/gui_frame.h:16, from gui/climates.h:11, from gui/climates.cc:9: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/display_settings.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/display_settings.o gui/display_settings.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/display_settings.h:9, from gui/display_settings.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_button.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_button.o gui/components/gui_button.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_button.h:15, from gui/components/gui_button.cc:12: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/hashtable_tpl.h:5, from gui/components/../../dataobj/../tpl/stringhashtable_tpl.h:8, from gui/components/../../dataobj/translator.h:12, from gui/components/gui_button.cc:19: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_button.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_button.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_button.cc:28: gui/components/../../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/components/../../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/../../simworld.h:20, from gui/components/gui_button.cc:26: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_button.cc:30: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_button.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_button.cc: In member function ‘void button_t::set_typ(button_t::type)’: gui/components/gui_button.cc:120:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | text_color = SYSCOL_COLORED_BUTTON_TEXT; gui/components/gui_button.cc:121:3: note: here 121 | case roundbox: | ^~~~ ===> HOSTCXX gui/components/gui_chart.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_chart.o gui/components/gui_chart.cc In file included from gui/components/gui_chart.h:9, from gui/components/gui_chart.cc:9: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_chart.cc:10: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_chart.h:10, from gui/components/gui_chart.cc:9: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_chart.h:10, from gui/components/gui_chart.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_chart.cc:10: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_chart.h:10, from gui/components/gui_chart.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_chart.cc: In member function ‘virtual void gui_chart_t::draw(scr_coord)’: gui/components/gui_chart.cc:176:21: warning: ‘%i’ directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 176 | sprintf( digit, "%i", abs(seed - j) ); | ^~ gui/components/gui_chart.cc:176:20: note: directive argument in the range [0, 2147483647] 176 | sprintf( digit, "%i", abs(seed - j) ); | ^~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/bits/basic_string.h:6535, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/string:55, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/streambuf:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/bits/streambuf_iterator.h:35, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/iterator:66, from gui/components/../../utils/for.h:4, from gui/components/../../simtypes.h:9, from gui/components/gui_chart.h:9, from gui/components/gui_chart.cc:9: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 2 and 11 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/components/gui_combobox.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_combobox.o gui/components/gui_combobox.cc In file included from gui/components/../../macros.h:4, from gui/components/gui_combobox.cc:14: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/gui_combobox.cc:14: gui/components/../../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/../components/gui_container.h:23, from gui/components/../gui_frame.h:20, from gui/components/gui_combobox.cc:16: gui/components/../components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/../components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_combobox.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_combobox.cc:16: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_combobox.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_combobox.cc: In constructor ‘gui_combobox_t::gui_combobox_t()’: gui/components/gui_combobox.cc:47:36: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 47 | max_size = scr_size(0,10*LINESPACE); | ^ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_combobox.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_combobox.cc: In member function ‘virtual bool gui_combobox_t::infowin_event(const event_t*)’: gui/components/gui_combobox.cc:154:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 154 | if(droplist.getroffen(ev->cx + pos.x, ev->cy + pos.y) && IS_LEFTRELEASE(ev) || IS_WHEELUP(ev) || IS_WHEELDOWN(ev)) { gui/components/gui_combobox.cc: In member function ‘void gui_combobox_t::set_max_size(scr_size)’: gui/components/gui_combobox.cc:332:13: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 332 | max_size = max; | ^~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_combobox.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_container.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_container.o gui/components/gui_container.cc In file included from gui/components/../../utils/log.h:13, from gui/components/../../simdebug.h:23, from gui/components/gui_container.h:20, from gui/components/gui_container.cc:20: gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/gui_container.h:23, from gui/components/gui_container.cc:20: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_container.h:23, from gui/components/gui_container.cc:20: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_convoiinfo.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_convoiinfo.o gui/components/gui_convoiinfo.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_convoiinfo.h:15, from gui/components/gui_convoiinfo.cc:12: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/weighted_vector_tpl.h:7, from gui/components/../../simworld.h:23, from gui/components/gui_convoiinfo.cc:13: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/components/gui_convoiinfo.h:16, from gui/components/gui_convoiinfo.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_convoiinfo.h:15, from gui/components/gui_convoiinfo.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_convoiinfo.cc:15: gui/components/../../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/components/../../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/components/gui_convoiinfo.cc:12: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_convoiinfo.cc:18: gui/components/../../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/components/../../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/components/gui_convoiinfo.cc:12: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_convoiinfo.cc:25: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_convoiinfo.h:15, from gui/components/gui_convoiinfo.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_convoiinfo.cc: In constructor ‘gui_convoiinfo_t::gui_convoiinfo_t(convoihandle_t)’: gui/components/gui_convoiinfo.cc:30:17: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 30 | this->cnv = cnv; | ^~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/components/gui_convoiinfo.cc:12: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/components/gui_obj_view_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_obj_view_t.o gui/components/gui_obj_view_t.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_world_view_t.h:11, from gui/components/gui_obj_view_t.h:4, from gui/components/gui_obj_view_t.cc:1: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/gui_world_view_t.h:13, from gui/components/gui_obj_view_t.h:4, from gui/components/gui_obj_view_t.cc:1: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_world_view_t.h:11, from gui/components/gui_obj_view_t.h:4, from gui/components/gui_obj_view_t.cc:1: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_world_view_t.h:11, from gui/components/gui_obj_view_t.h:4, from gui/components/gui_obj_view_t.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_fixedwidth_textarea.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_fixedwidth_textarea.o gui/components/gui_fixedwidth_textarea.cc In file included from gui/components/../../dataobj/ribi.h:11, from gui/components/../../dataobj/koord.h:4, from gui/components/../gui_theme.h:11, from gui/components/gui_fixedwidth_textarea.cc:10: gui/components/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/hashtable_tpl.h:5, from gui/components/../../dataobj/../tpl/stringhashtable_tpl.h:8, from gui/components/../../dataobj/translator.h:12, from gui/components/gui_fixedwidth_textarea.cc:12: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_fixedwidth_textarea.h:11, from gui/components/gui_fixedwidth_textarea.cc:11: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/../gui_theme.h:13, from gui/components/gui_fixedwidth_textarea.cc:10: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_fixedwidth_textarea.cc: In member function ‘void gui_fixedwidth_textarea_t::set_reserved_area(scr_size)’: gui/components/gui_fixedwidth_textarea.cc:48:19: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 48 | reserved_area = area; | ^~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/../gui_theme.h:13, from gui/components/gui_fixedwidth_textarea.cc:10: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_flowtext.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_flowtext.o gui/components/gui_flowtext.cc In file included from gui/components/../../display/../unicode.h:5, from gui/components/../../display/simgraph.h:18, from gui/components/gui_flowtext.cc:5: gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/hashtable_tpl.h:5, from gui/components/../../dataobj/../tpl/stringhashtable_tpl.h:8, from gui/components/../../dataobj/translator.h:12, from gui/components/gui_flowtext.cc:6: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_flowtext.h:7, from gui/components/gui_flowtext.cc:10: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_flowtext.cc:5: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_image.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_image.o gui/components/gui_image.cc In file included from gui/components/../../display/simimg.h:16, from gui/components/gui_image.h:13, from gui/components/gui_image.cc:1: gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_image.cc:2: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_image.h:15, from gui/components/gui_image.cc:1: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_image.h:14, from gui/components/gui_image.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_image.cc:2: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_image.h:14, from gui/components/gui_image.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_image.cc: In member function ‘virtual void gui_image_t::set_size(scr_size)’: gui/components/gui_image.cc:26:65: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 26 | size_par = scr_size( x+w+remove_offset.x, y+h+remove_offset.y ); | ^ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_image.h:14, from gui/components/gui_image.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_image_list.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_image_list.o gui/components/gui_image_list.cc In file included from gui/components/../../utils/log.h:13, from gui/components/../../simdebug.h:23, from gui/components/gui_image_list.cc:7: gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_image_list.h:6, from gui/components/gui_image_list.cc:8: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_image_list.h:5, from gui/components/gui_image_list.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_image_list.h:5, from gui/components/gui_image_list.cc:8: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_komponente.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_komponente.o gui/components/gui_komponente.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_komponente.cc:1: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/weighted_vector_tpl.h:7, from gui/components/../../simworld.h:23, from gui/components/gui_komponente.cc:4: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_komponente.cc:1: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_komponente.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_label.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_label.o gui/components/gui_label.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_label.h:13, from gui/components/gui_label.cc:9: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_label.cc:10: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_label.h:13, from gui/components/gui_label.cc:9: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_label.h:13, from gui/components/gui_label.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_label.cc:10: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_label.h:13, from gui/components/gui_label.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_map_preview.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_map_preview.o gui/components/gui_map_preview.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_map_preview.h:13, from gui/components/gui_map_preview.cc:1: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/weighted_vector_tpl.h:7, from gui/components/../../simworld.h:23, from gui/components/gui_map_preview.cc:2: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_map_preview.h:13, from gui/components/gui_map_preview.cc:1: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_map_preview.h:13, from gui/components/gui_map_preview.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_map_preview.cc:1: gui/components/gui_map_preview.h: In member function ‘void gui_map_preview_t::set_map_data(array2d_tpl*, scr_size)’: gui/components/gui_map_preview.h:45:15: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 45 | map_size = max_size_par; | ^~~~~~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_map_preview.h:13, from gui/components/gui_map_preview.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_map_preview.cc: In constructor ‘gui_map_preview_t::gui_map_preview_t()’: gui/components/gui_map_preview.cc:8:25: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 8 | map_size = scr_size(0,0); | ^ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_map_preview.h:13, from gui/components/gui_map_preview.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_numberinput.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_numberinput.o gui/components/gui_numberinput.cc In file included from gui/components/gui_numberinput.h:18, from gui/components/gui_numberinput.cc:13: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_numberinput.cc:14: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_textinput.h:20, from gui/components/gui_numberinput.h:22, from gui/components/gui_numberinput.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_numberinput.h:19, from gui/components/gui_numberinput.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_numberinput.cc:14: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_numberinput.h:19, from gui/components/gui_numberinput.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_scrollbar.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_scrollbar.o gui/components/gui_scrollbar.cc In file included from gui/components/../../utils/log.h:13, from gui/components/../../simdebug.h:23, from gui/components/gui_scrollbar.cc:9: gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/gui_scrollbar.cc:13: gui/components/../../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrollbar.cc:16: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_scrollbar.cc:11: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_scrollbar.cc: In constructor ‘scrollbar_t::scrollbar_t(scrollbar_t::type_t)’: gui/components/gui_scrollbar.cc:33:39: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 33 | size = scr_size(D_SCROLLBAR_WIDTH,40); // 40 = default scrollbar height | ^ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_scrollbar.cc:11: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_scrollbar.cc:38:40: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 38 | size = scr_size(40,D_SCROLLBAR_HEIGHT); // 40 = default scrollbar length | ^ In file included from gui/components/../../display/simgraph.h:22, from gui/components/gui_scrollbar.cc:11: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_scrolled_list.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_scrolled_list.o gui/components/gui_scrolled_list.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_scrollbar.h:8, from gui/components/gui_scrolled_list.cc:15: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_scrolled_list.h:21, from gui/components/gui_scrolled_list.cc:16: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.cc:15: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_scrolled_list.cc: In constructor ‘gui_scrolled_list_t::gui_scrolled_list_t(gui_scrolled_list_t::type)’: gui/components/gui_scrolled_list.cc:68:21: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 68 | size = scr_size(0,0); | ^ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.cc:15: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_scrollpane.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_scrollpane.o gui/components/gui_scrollpane.cc In file included from gui/components/../../utils/log.h:13, from gui/components/../../simdebug.h:23, from gui/components/gui_scrollpane.cc:7: gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_scrollpane.cc:9: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/../components/gui_container.h:23, from gui/components/../gui_frame.h:20, from gui/components/gui_scrollpane.cc:9: gui/components/../components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/../components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_scrollpane.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_scrollpane.cc:9: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_scrollpane.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_scrollpane.cc: In constructor ‘gui_scrollpane_t::gui_scrollpane_t(gui_component_t*)’: gui/components/gui_scrollpane.cc:33:28: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 33 | old_comp_size = scr_size::invalid; | ^~~~~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_scrollpane.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_scrollpane.cc: In member function ‘void gui_scrollpane_t::recalc_sliders(scr_size)’: gui/components/gui_scrollpane.cc:71:49: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 71 | old_comp_size = comp->get_size()+comp->get_pos(); | ^ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_scrollpane.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_speedbar.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_speedbar.o gui/components/gui_speedbar.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_speedbar.h:11, from gui/components/gui_speedbar.cc:10: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/gui_speedbar.h:11, from gui/components/gui_speedbar.cc:10: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_speedbar.h:11, from gui/components/gui_speedbar.cc:10: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_tab_panel.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_tab_panel.o gui/components/gui_tab_panel.cc In file included from gui/components/../../display/simimg.h:16, from gui/components/gui_tab_panel.h:9, from gui/components/gui_tab_panel.cc:13: gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_tab_panel.cc:14: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_tab_panel.h:14, from gui/components/gui_tab_panel.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../../descriptor/../display/simgraph.h:22, from gui/components/../../descriptor/image.h:10, from gui/components/../../descriptor/image_list.h:10, from gui/components/../../descriptor/image_array.h:10, from gui/components/../../descriptor/skin_desc.h:12, from gui/components/gui_tab_panel.h:11, from gui/components/gui_tab_panel.cc:13: gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_tab_panel.cc:14: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/../../descriptor/../display/simgraph.h:22, from gui/components/../../descriptor/image.h:10, from gui/components/../../descriptor/image_list.h:10, from gui/components/../../descriptor/image_array.h:10, from gui/components/../../descriptor/skin_desc.h:12, from gui/components/gui_tab_panel.h:11, from gui/components/gui_tab_panel.cc:13: gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_tab_panel.cc: In member function ‘virtual void gui_tab_panel_t::set_size(scr_size)’: gui/components/gui_tab_panel.cc:53:51: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 53 | required_size = scr_size( 8, D_TAB_HEADER_HEIGHT ); | ^ In file included from gui/components/../../descriptor/../display/simgraph.h:22, from gui/components/../../descriptor/image.h:10, from gui/components/../../descriptor/image_list.h:10, from gui/components/../../descriptor/image_array.h:10, from gui/components/../../descriptor/skin_desc.h:12, from gui/components/gui_tab_panel.h:11, from gui/components/gui_tab_panel.cc:13: gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_textarea.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_textarea.o gui/components/gui_textarea.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_textarea.h:17, from gui/components/gui_textarea.cc:16: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/gui_textarea.h:17, from gui/components/gui_textarea.cc:16: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_textarea.h:17, from gui/components/gui_textarea.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/components/gui_textinput.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_textinput.o gui/components/gui_textinput.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/../gui_frame.h:16, from gui/components/gui_textinput.cc:18: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/../gui_frame.h:19, from gui/components/gui_textinput.cc:18: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/../components/gui_container.h:23, from gui/components/../gui_frame.h:20, from gui/components/gui_textinput.cc:18: gui/components/../components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/../components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_textinput.cc:18: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_textinput.cc:18: gui/components/../gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/components/../gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/../gui_frame.h:16, from gui/components/gui_textinput.cc:18: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/components/gui_textinput.cc: In member function ‘virtual bool gui_textinput_t::infowin_event(const event_t*)’: gui/components/gui_textinput.cc:124:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 124 | if( text_dirty ) { | ^~ gui/components/gui_textinput.cc:128:5: note: here 128 | case SIM_KEY_TAB: | ^~~~ gui/components/gui_textinput.cc:131:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 131 | tail_cursor_pos = 0; | ~~~~~~~~~~~~~~~~^~~ gui/components/gui_textinput.cc:132:5: note: here 132 | case SIM_KEY_ESCAPE: | ^~~~ ===> HOSTCXX gui/components/gui_world_view_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/components/gui_world_view_t.o gui/components/gui_world_view_t.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_world_view_t.h:11, from gui/components/gui_world_view_t.cc:10: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../dataobj/../tpl/vector_tpl.h:6, from gui/components/../../dataobj/koord3d.h:7, from gui/components/gui_world_view_t.h:13, from gui/components/gui_world_view_t.cc:10: gui/components/../../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_world_view_t.h:11, from gui/components/gui_world_view_t.cc:10: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_world_view_t.h:11, from gui/components/gui_world_view_t.cc:10: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_world_view_t.cc:13: gui/components/../../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/components/../../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/../../simworld.h:20, from gui/components/gui_world_view_t.cc:11: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/convoi_detail_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/convoi_detail_t.o gui/convoi_detail_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/convoi_detail_t.h:12, from gui/convoi_detail_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_detail_t.cc:14: gui/convoi_detail_t.h: In member function ‘void gui_vehicleinfo_t::set_cnv(convoihandle_t)’: gui/convoi_detail_t.h:46:43: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 46 | void set_cnv( convoihandle_t c ) { cnv = c; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_detail_t.cc:17: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_detail_t.cc:22: gui/../simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: gui/../simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_detail_t.cc:22: gui/../simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: gui/../simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_detail_t.cc: In constructor ‘convoi_detail_t::convoi_detail_t(convoihandle_t)’: gui/convoi_detail_t.cc:49:14: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 49 | this->cnv = cnv; | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_detail_t.cc: In constructor ‘convoi_detail_t::convoi_detail_t()’: gui/convoi_detail_t.cc:166:23: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 166 | cnv = convoihandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_detail_t.cc: In member function ‘virtual void convoi_detail_t::rdwr(loadsave_t*)’: gui/convoi_detail_t.cc:209:24: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 209 | cnv = convoihandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_detail_t.cc: In constructor ‘gui_vehicleinfo_t::gui_vehicleinfo_t(convoihandle_t)’: gui/convoi_detail_t.cc:218:14: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 218 | this->cnv = cnv; | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_detail_t.h:21, from gui/convoi_detail_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/convoi_filter_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/convoi_filter_frame.o gui/convoi_filter_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/convoi_filter_frame.h:17, from gui/convoi_filter_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/convoi_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/convoi_frame.o gui/convoi_frame.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_convoiinfo.h:15, from gui/convoi_frame.cc:19: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_filter_frame.h:17, from gui/convoi_frame.h:18, from gui/convoi_frame.cc:22: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/components/gui_convoiinfo.h:16, from gui/convoi_frame.cc:19: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_convoiinfo.h:15, from gui/convoi_frame.cc:19: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_filter_frame.h:17, from gui/convoi_frame.h:18, from gui/convoi_frame.cc:22: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_convoiinfo.h:15, from gui/convoi_frame.cc:19: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_frame.cc:25: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/convoi_frame.cc:19: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_filter_frame.h:17, from gui/convoi_frame.h:18, from gui/convoi_frame.cc:22: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/convoi_frame.cc:182:35: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/convoi_frame.cc:19: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_filter_frame.h:17, from gui/convoi_frame.h:18, from gui/convoi_frame.cc:22: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/convoi_frame.cc:186:22: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/convoi_frame.cc:19: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/convoi_info_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/convoi_info_t.o gui/convoi_info_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoi_info_t.h:27, from gui/convoi_info_t.cc:14: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_info_t.cc:17: gui/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: gui/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_info_t.cc:21: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_info_t.cc:42: gui/convoi_detail_t.h: In member function ‘void gui_vehicleinfo_t::set_cnv(convoihandle_t)’: gui/convoi_detail_t.h:46:43: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 46 | void set_cnv( convoihandle_t c ) { cnv = c; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_info_t.cc: In constructor ‘convoi_info_t::convoi_info_t(convoihandle_t)’: gui/convoi_info_t.cc:96:14: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | this->cnv = cnv; | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/convoi_info_t.cc: In member function ‘virtual void convoi_info_t::rdwr(loadsave_t*)’: gui/convoi_info_t.cc:651:24: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 651 | cnv = convoihandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoi_info_t.h:25, from gui/convoi_info_t.cc:14: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/convoy_item.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/convoy_item.o gui/convoy_item.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_scrollbar.h:8, from gui/components/gui_scrolled_list.h:15, from gui/convoy_item.h:8, from gui/convoy_item.cc:5: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_scrolled_list.h:21, from gui/convoy_item.h:8, from gui/convoy_item.cc:5: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/convoy_item.h:8, from gui/convoy_item.cc:5: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/convoy_item.h:8, from gui/convoy_item.cc:5: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/convoy_item.cc:5: gui/convoy_item.h: In constructor ‘convoy_scrollitem_t::convoy_scrollitem_t(convoihandle_t)’: gui/convoy_item.h:19:135: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 19 | st_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { cnv = c; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoy_item.h:9, from gui/convoy_item.cc:5: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoy_item.cc:6: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/convoy_item.h:9, from gui/convoy_item.cc:5: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/curiosity_edit.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/curiosity_edit.o gui/curiosity_edit.cc In file included from gui/../simworld.h:17, from gui/curiosity_edit.cc:14: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/curiosity_edit.cc:14: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/curiosity_edit.h:8, from gui/curiosity_edit.cc:29: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/curiosity_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/curiosity_edit.h:8, from gui/curiosity_edit.cc:29: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/curiosity_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/curiositylist_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/curiositylist_frame_t.o gui/curiositylist_frame_t.cc In file included from gui/../gui/../display/../dataobj/loadsave.h:14, from gui/../gui/../display/scr_coord.h:5, from gui/../gui/gui_frame.h:16, from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../gui/../dataobj/koord3d.h:7, from gui/../gui/gui_frame.h:19, from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/../gui/components/gui_container.h:23, from gui/../gui/gui_frame.h:20, from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../gui/gui_frame.h:16, from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../gui/gui_frame.h:16, from gui/curiositylist_frame_t.h:9, from gui/curiositylist_frame_t.cc:13: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/curiositylist_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/curiositylist_stats_t.o gui/curiositylist_stats_t.cc In file included from gui/../tpl/../macros.h:4, from gui/../tpl/vector_tpl.h:6, from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/vector_tpl.h:6, from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/curiositylist_stats_t.h:17, from gui/curiositylist_stats_t.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/curiositylist_stats_t.h:17, from gui/curiositylist_stats_t.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/curiositylist_stats_t.cc:16: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.cc:33: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/curiositylist_stats_t.h:17, from gui/curiositylist_stats_t.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/curiositylist_stats_t.h:16, from gui/curiositylist_stats_t.cc:13: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/curiositylist_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/depot_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/depot_frame.o gui/depot_frame.cc In file included from gui/../simworld.h:17, from gui/depot_frame.cc:16: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/depot_frame.cc:16: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/depot_frame.cc:18: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/depot_frame.cc:19: gui/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: gui/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/depot_frame.cc:24: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/schedule_gui.h:12, from gui/depot_frame.cc:32: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/depot_frame.cc:16: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/schedule_gui.h:12, from gui/depot_frame.cc:32: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/depot_frame.cc:16: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/depot_frame.cc:34: gui/line_item.h: In constructor ‘line_scrollitem_t::line_scrollitem_t(linehandle_t)’: gui/line_item.h:21:132: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 21 | t_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/depot_frame.cc:35: gui/convoy_item.h: In constructor ‘convoy_scrollitem_t::convoy_scrollitem_t(convoihandle_t)’: gui/convoy_item.h:19:135: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 19 | st_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { cnv = c; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/depot_frame.cc:38: gui/depot_frame.h: In member function ‘void depot_frame_t::set_selected_line(linehandle_t)’: gui/depot_frame.h:318:62: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 318 | void set_selected_line(linehandle_t line) { selected_line = line; } | ^~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc: In constructor ‘depot_frame_t::depot_frame_t(depot_t*)’: gui/depot_frame.cc:99:53: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 99 | last_selected_line = depot->get_last_selected_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc: In member function ‘void depot_frame_t::update_data()’: gui/depot_frame.cc:892:24: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 892 | last_selected_line = selected_line; | ^~~~~~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:896:123: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 896 | _line[ depot->get_owner()->get_player_nr() ][ depot->get_line_type() ]; | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:900:102: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 900 | _list_gui_t::selected_line[ depot->get_owner()->get_player_nr() ][ 0 ]; | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:902:39: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 902 | last_selected_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:931:33: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 931 | selected_line = cnv->get_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:944:32: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 944 | selected_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc: In member function ‘virtual bool depot_frame_t::action_triggered(gui_action_creator_t*, value_t)’: gui/depot_frame.cc:1311:35: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1311 | selected_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:1326:40: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1326 | last_selected_line = linehandle_t(); // clear last selected line so we can get a new one ... | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:1333:22: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1333 | selected_line = last_selected_line; | ^~~~~~~~~~~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:1342:36: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1342 | selected_line = item->get_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc:1344:26: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1344 | last_selected_line = selected_line; | ^~~~~~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/depot_frame.cc: In member function ‘virtual void depot_frame_t::draw(scr_coord, scr_size)’: gui/depot_frame.cc:1454:31: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1454 | cnv = depot->get_convoi(icnv); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/depot_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/enlarge_map_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/enlarge_map_frame_t.o gui/enlarge_map_frame_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/enlarge_map_frame_t.cc:12: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/gui_frame.h:16, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/enlarge_map_frame_t.cc:30: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../halthandle_t.h:4, from gui/karte.h:5, from gui/enlarge_map_frame_t.cc:12: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/extend_edit.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/extend_edit.o gui/extend_edit.cc In file included from gui/../simworld.h:17, from gui/extend_edit.cc:12: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/extend_edit.cc:12: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/extend_edit.cc:22: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/extend_edit.cc:12: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/extend_edit.cc:22: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/extend_edit.cc:12: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/fabrik_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/fabrik_info.o gui/fabrik_info.cc In file included from gui/../gui/simwin.h:17, from gui/fabrik_info.h:15, from gui/fabrik_info.cc:12: gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simfab.h:11, from gui/factory_chart.h:17, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/factory_chart.h:18, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../descriptor/../display/simgraph.h:22, from gui/../descriptor/image.h:10, from gui/../descriptor/image_list.h:10, from gui/../descriptor/image_array.h:10, from gui/../descriptor/building_desc.h:11, from gui/../descriptor/factory_desc.h:11, from gui/../simfab.h:17, from gui/factory_chart.h:17, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/factory_chart.h:18, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../descriptor/../display/simgraph.h:22, from gui/../descriptor/image.h:10, from gui/../descriptor/image_list.h:10, from gui/../descriptor/image_array.h:10, from gui/../descriptor/building_desc.h:11, from gui/../descriptor/factory_desc.h:11, from gui/../simfab.h:17, from gui/factory_chart.h:17, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/fabrik_info.cc:22: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../halthandle_t.h:4, from gui/../simfab.h:18, from gui/factory_chart.h:17, from gui/fabrik_info.h:17, from gui/fabrik_info.cc:12: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/factory_chart.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/factory_chart.o gui/factory_chart.cc In file included from gui/../obj/../ifc/sync_steppable.h:4, from gui/../obj/leitung2.h:12, from gui/factory_chart.cc:12: gui/../obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../obj/../ifc/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../obj/../ifc/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../obj/../dataobj/../tpl/vector_tpl.h:6, from gui/../obj/../dataobj/koord3d.h:7, from gui/../obj/leitung2.h:13, from gui/factory_chart.cc:12: gui/../obj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/factory_chart.h:18, from gui/factory_chart.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../descriptor/../display/simgraph.h:22, from gui/../descriptor/image.h:10, from gui/../descriptor/image_list.h:10, from gui/../descriptor/image_array.h:10, from gui/../descriptor/building_desc.h:11, from gui/../descriptor/factory_desc.h:11, from gui/../simfab.h:17, from gui/factory_chart.h:17, from gui/factory_chart.cc:15: gui/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/factory_chart.h:18, from gui/factory_chart.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../descriptor/../display/simgraph.h:22, from gui/../descriptor/image.h:10, from gui/../descriptor/image_list.h:10, from gui/../descriptor/image_array.h:10, from gui/../descriptor/building_desc.h:11, from gui/../descriptor/factory_desc.h:11, from gui/../simfab.h:17, from gui/factory_chart.h:17, from gui/factory_chart.cc:15: gui/../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/factory_edit.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/factory_edit.o gui/factory_edit.cc In file included from gui/../simworld.h:17, from gui/factory_edit.cc:14: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/factory_edit.cc:14: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/factory_edit.h:8, from gui/factory_edit.cc:29: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/factory_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/factory_edit.h:8, from gui/factory_edit.cc:29: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/factory_edit.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/factorylist_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/factorylist_frame_t.o gui/factorylist_frame_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/factorylist_frame_t.h:9, from gui/factorylist_frame_t.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/factorylist_frame_t.cc: In member function ‘virtual void factorylist_frame_t::draw(scr_coord, scr_size)’: gui/factorylist_frame_t.cc:107:43: warning: comparison of integer expressions of different signedness: ‘uint32’ {aka ‘unsigned int’} and ‘sint32’ {aka ‘int’} [-Wsign-compare] 107 | if( world()->get_fab_list().get_count() != scrolly.get_count() ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/factorylist_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/factorylist_stats_t.o gui/factorylist_stats_t.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_scrollbar.h:8, from gui/components/gui_scrolled_list.h:15, from gui/factorylist_stats_t.h:15, from gui/factorylist_stats_t.cc:12: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_scrolled_list.h:21, from gui/factorylist_stats_t.h:15, from gui/factorylist_stats_t.cc:12: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/factorylist_stats_t.h:15, from gui/factorylist_stats_t.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/factorylist_stats_t.h:15, from gui/factorylist_stats_t.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/factorylist_stats_t.cc:15: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../halthandle_t.h:4, from gui/../simfab.h:18, from gui/factorylist_stats_t.h:17, from gui/factorylist_stats_t.cc:12: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/factorylist_stats_t.cc:23: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/factorylist_stats_t.h:15, from gui/factorylist_stats_t.cc:12: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/goods_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/goods_frame_t.o gui/goods_frame_t.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/goods_frame_t.cc: In member function ‘virtual void goods_frame_t::draw(scr_coord, scr_size)’: gui/goods_frame_t.cc:249:23: warning: ‘%i’ directive writing between 1 and 11 bytes into a region of size 6 [-Wformat-overflow=] 249 | sprintf(speed_bonus,"%i",relative_speed_change-100); | ^~ gui/goods_frame_t.cc:249:22: note: directive argument in the range [-2147483648, 2147483547] 249 | sprintf(speed_bonus,"%i",relative_speed_change-100); | ^~~~ In file included from /usr/include/stdio.h:867, from gui/../display/../dataobj/loadsave.h:11, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:14: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 2 and 12 bytes into a destination of size 6 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/goods_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/goods_stats_t.o gui/goods_stats_t.cc In file included from gui/goods_stats_t.h:17, from gui/goods_stats_t.cc:14: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/goods_stats_t.cc:18: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/goods_stats_t.h:18, from gui/goods_stats_t.cc:14: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/goods_stats_t.h:18, from gui/goods_stats_t.cc:14: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/goods_stats_t.cc:27: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/goods_stats_t.h:18, from gui/goods_stats_t.cc:14: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/ground_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/ground_info.o gui/ground_info.cc In file included from gui/../display/../unicode.h:5, from gui/../display/simgraph.h:18, from gui/ground_info.cc:15: gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../display/../dataobj/../tpl/vector_tpl.h:6, from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/ground_info.cc:16: gui/../display/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/ground_info.cc:16: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/ground_info.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/ground_info.h:18, from gui/ground_info.cc:19: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/ground_info.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/ground_info.h:18, from gui/ground_info.cc:19: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../display/simgraph.h:22, from gui/ground_info.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/gui_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/gui_frame.o gui/gui_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/gui_frame.cc:15: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/gui_frame.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_frame.cc: In constructor ‘gui_frame_t::gui_frame_t(const char*, const player_t*)’: gui/gui_frame.cc:33:26: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 33 | size = scr_size(200, 100); | ^ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_frame.cc:34:31: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 34 | min_windowsize = scr_size(0,0); | ^ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_frame.cc: In member function ‘virtual void gui_frame_t::set_windowsize(scr_size)’: gui/gui_frame.cc:57:16: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 57 | this->size = size; | ^~~~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/gui_theme.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/gui_theme.o gui/gui_theme.cc In file included from gui/../dataobj/ribi.h:11, from gui/../dataobj/koord.h:4, from gui/gui_theme.h:11, from gui/gui_theme.cc:11: gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simmenu.h:15, from gui/gui_theme.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/gui_theme.cc:17: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc: In static member function ‘static void gui_theme_t::init_gui_defaults()’: gui/gui_theme.cc:161:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 161 | gui_button_size = scr_size(92,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:162:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 162 | gui_color_button_size = scr_size(92,16); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:163:45: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 163 | gui_button_text_offset = scr_size(0,0); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:164:45: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 164 | gui_color_button_text_offset = scr_size(0,0); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:165:58: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 165 | gui_divider_size = scr_size(92,2+D_V_SPACE*2); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:166:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 166 | gui_checkbox_size = scr_size(10,10); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:167:54: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 167 | gui_pos_button_size = scr_size(14,LINESPACE); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:168:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 168 | gui_arrow_left_size = scr_size(14,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:169:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 169 | gui_arrow_right_size = scr_size(14,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:170:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 170 | gui_arrow_up_size = scr_size(14,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:171:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 171 | gui_arrow_down_size = scr_size(14,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:172:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 172 | gui_scrollbar_size = scr_size(14,14); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:173:45: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 173 | gui_min_scrollbar_size = scr_size(3,3); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:174:54: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 174 | gui_label_size = scr_size(92,LINESPACE); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:175:110: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 175 | (92,max(LINESPACE+2, max(D_ARROW_LEFT_HEIGHT, D_ARROW_RIGHT_HEIGHT) )); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:176:47: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 176 | gui_gadget_size = scr_size(16,16); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:177:46: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 177 | gui_indicator_size = scr_size(20,4); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc: In static member function ‘static void gui_theme_t::init_size_from_image(const image_t*, scr_size&)’: gui/gui_theme.cc:198:51: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 198 | k = scr_size(image->x+image->w,image->y+image->h); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc: In static member function ‘static void gui_theme_t::init_gui_from_images()’: gui/gui_theme.cc:291:95: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 291 | (92,max(LINESPACE+2, max(D_ARROW_LEFT_HEIGHT, D_ARROW_RIGHT_HEIGHT) )); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc: In static member function ‘static bool gui_theme_t::themes_init(const char*)’: gui/gui_theme.cc:421:51: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 421 | gui_theme_t::gui_arrow_right_size = gui_theme_t::gui_arrow_left_size; | ^~~~~~~~~~~~~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:425:50: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 425 | gui_theme_t::gui_arrow_down_size = gui_theme_t::gui_arrow_up_size; | ^~~~~~~~~~~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:439:114: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 439 | = scr_size(color_button_text_offsets[1], color_button_text_offsets[2]); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:443:96: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 443 | text_offset = scr_size(button_text_offsets[1], button_text_offsets[2]); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:487:113: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 487 | .get_scr_size("gui_indicator_size", gui_theme_t::gui_indicator_size ); | ^ In file included from gui/../display/simgraph.h:22, from gui/gui_theme.h:13, from gui/gui_theme.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/gui_theme.cc:389:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 389 | chdir( pathname ); | ~~~~~^~~~~~~~~~~~ ===> HOSTCXX gui/halt_detail.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/halt_detail.o gui/halt_detail.cc In file included from gui/../simworld.h:17, from gui/halt_detail.cc:8: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/halt_detail.cc:8: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/halt_detail.cc:10: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_detail.cc:11: gui/../simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: gui/../simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_detail.cc:11: gui/../simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: gui/../simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_detail.cc:15: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_textarea.h:17, from gui/halt_detail.h:11, from gui/halt_detail.cc:25: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/halt_detail.cc:8: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_detail.h:13, from gui/halt_detail.cc:25: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/halt_detail.cc:8: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/halt_detail.cc: In member function ‘virtual void halt_detail_t::rdwr(loadsave_t*)’: gui/halt_detail.cc:418:45: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 418 | halt = welt->lookup( halt_pos )->get_halt(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simworld.h:24, from gui/halt_detail.cc:8: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/halt_detail.cc:8: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/halt_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/halt_info.o gui/halt_info.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/components/gui_textarea.h:17, from gui/halt_detail.h:11, from gui/halt_info.cc:13: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_textarea.h:17, from gui/halt_detail.h:11, from gui/halt_info.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_textarea.h:17, from gui/halt_detail.h:11, from gui/halt_info.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_textarea.h:17, from gui/halt_detail.h:11, from gui/halt_info.cc:13: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_info.cc:16: gui/../simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: gui/../simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_info.cc:16: gui/../simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: gui/../simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_info.cc:18: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_info.cc:21: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/halt_info.cc: In constructor ‘halt_info_t::halt_info_t(halthandle_t)’: gui/halt_info.cc:92:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 92 | this->halt = halt; | ^~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/halt_info.cc: In member function ‘virtual void halt_info_t::rdwr(loadsave_t*)’: gui/halt_info.cc:614:45: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 614 | halt = welt->lookup( halt_pos )->get_halt(); | ^ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/halt_info.cc:639:23: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 639 | halt = halthandle_t(); | ^ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_detail.h:13, from gui/halt_info.cc:13: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_detail.h:17, from gui/halt_info.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/halt_list_filter_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/halt_list_filter_frame.o gui/halt_list_filter_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/halt_list_filter_frame.h:14, from gui/halt_list_filter_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/halt_list_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/halt_list_frame.o gui/halt_list_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_list_frame.cc:24: gui/../simware.h: In member function ‘void ware_t::set_ziel(const halthandle_t&)’: gui/../simware.h:60:57: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 60 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } | ^~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_list_frame.cc:24: gui/../simware.h: In member function ‘void ware_t::set_zwischenziel(const halthandle_t&)’: gui/../simware.h:64:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 64 | el(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } | ^~~~~~~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/halt_list_frame.cc: In member function ‘void halt_list_frame_t::display_list()’: gui/halt_list_frame.cc:319:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 319 | a[n++] = halt; | ^~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/components/gui_komponente.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = halt_list_stats_t; uint32 = unsigned int]’: gui/halt_list_frame.cc:335:16: required from here gui/components/gui_komponente.h:23:7: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 23 | class gui_component_t | ^~~~~~~~~~~~~~~ In file included from gui/gui_frame.h:16, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/components/gui_komponente.h:218:7: note: synthesized method ‘constexpr gui_component_t& gui_component_t::operator=(const gui_component_t&)’ first required here 218 | class gui_world_component_t: public gui_component_t | ^~~~~~~~~~~~~~~~~~~~~ In file included from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/halt_list_stats.h:19:7: note: synthesized method ‘constexpr gui_world_component_t& gui_world_component_t::operator=(const gui_world_component_t&)’ first required here 19 | class halt_list_stats_t : public gui_world_component_t | ^~~~~~~~~~~~~~~~~ gui/halt_list_stats.h:19:7: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h:54:18: note: synthesized method ‘constexpr halt_list_stats_t& halt_list_stats_t::operator=(const halt_list_stats_t&)’ first required here 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, from gui/halt_list_frame.cc:20: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_frame.h:21, from gui/halt_list_frame.cc:20: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/halt_list_stats.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/halt_list_stats.o gui/halt_list_stats.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/halt_list_stats.h:12, from gui/halt_list_stats.cc:9: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/halt_list_stats.h:12, from gui/halt_list_stats.cc:9: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/halt_list_stats.h:12, from gui/halt_list_stats.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/halt_list_stats.cc:14: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/halt_list_stats.cc:26: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/halt_list_stats.h:12, from gui/halt_list_stats.cc:9: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simhalt.h:15, from gui/halt_list_stats.cc:10: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../halthandle_t.h:4, from gui/halt_list_stats.h:13, from gui/halt_list_stats.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/help_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/help_frame.o gui/help_frame.cc In file included from gui/../gui/simwin.h:17, from gui/help_frame.cc:11: gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simmenu.h:15, from gui/help_frame.cc:12: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/tool_selector.h:14, from gui/help_frame.cc:21: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/help_frame.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/tool_selector.h:14, from gui/help_frame.cc:21: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/help_frame.cc:14: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/help_frame.cc: In function ‘const char* load_text(const char*)’: gui/help_frame.cc:194:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 194 | chdir(env_t::program_dir); | ~~~~~^~~~~~~~~~~~~~~~~~~~ gui/help_frame.cc:206:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 206 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~ gui/help_frame.cc: In static member function ‘static FILE* help_frame_t::has_helpfile(const char*, int&)’: gui/help_frame.cc:389:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 389 | chdir(env_t::program_dir); | ~~~~~^~~~~~~~~~~~~~~~~~~~ gui/help_frame.cc:402:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 402 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~ gui/help_frame.cc: In member function ‘void help_frame_t::add_helpfile(cbuffer_t&, const char*, const char*, bool, int)’: gui/help_frame.cc:459:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 459 | fread( htmlline, lengthof(htmlline)-1, 1, file ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/jump_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/jump_frame.o gui/jump_frame.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/jump_frame.cc:12: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/jump_frame.cc:13: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/jump_frame.cc:14: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/jump_frame.cc:13: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/jump_frame.h:14, from gui/jump_frame.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/jump_frame.cc:13: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/jump_frame.h:14, from gui/jump_frame.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/jump_frame.cc:13: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/karte.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/karte.o gui/karte.cc In file included from gui/../simconvoi.h:9, from gui/karte.cc:3: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/karte.cc:3: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/karte.cc:6: gui/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: gui/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/karte.h:4, from gui/karte.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/karte.cc:12: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/schedule_gui.h:12, from gui/karte.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/karte.cc:27: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/karte.cc: In member function ‘void reliefkarte_t::calc_map()’: gui/karte.cc:966:13: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 966 | cur_size = new_size; | ^~~~~~~~ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/karte.cc: In constructor ‘reliefkarte_t::reliefkarte_t()’: gui/karte.cc:1006:36: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 1006 | cur_size = new_size = scr_size(0,0); | ^ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/karte.cc:1006:36: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 1006 | cur_size = new_size = scr_size(0,0); | ^ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/karte.cc: In member function ‘void reliefkarte_t::set_current_cnv(convoihandle_t)’: gui/karte.cc:1133:16: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1133 | current_cnv = c; | ^ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/karte.cc: In member function ‘virtual void reliefkarte_t::draw(scr_coord)’: gui/karte.cc:1150:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 1150 | new_size = cur_size; | ^~~~~~~~ In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, from gui/../vehicle/../boden/wege/weg.h:14, from gui/../vehicle/../boden/grund.h:19, from gui/../vehicle/simvehicle.h:20, from gui/karte.cc:4: gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/karte.cc:1254:16: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1254 | cnv = test_cnv; | ^~~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/karte.cc:1548:22: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 1548 | display_station = station; | ^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/karte.cc:1386:30: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/karte.cc:1386:30: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, from gui/karte.cc:3: gui/../dataobj/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../linehandle_t.h:4, from gui/../simconvoi.h:12, from gui/karte.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/kennfarbe.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/kennfarbe.o gui/kennfarbe.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/label_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/label_info.o gui/label_info.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/label_info.h:11, from gui/label_info.cc:8: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/label_info.h:11, from gui/label_info.cc:8: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/label_info.h:11, from gui/label_info.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/label_info.h:11, from gui/label_info.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/label_info.h:11, from gui/label_info.cc:8: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/label_info.h:11, from gui/label_info.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/labellist_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/labellist_frame_t.o gui/labellist_frame_t.cc In file included from gui/../gui/../display/../dataobj/loadsave.h:14, from gui/../gui/../display/scr_coord.h:5, from gui/../gui/gui_frame.h:16, from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../gui/../dataobj/koord3d.h:7, from gui/../gui/gui_frame.h:19, from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/../gui/components/gui_container.h:23, from gui/../gui/gui_frame.h:20, from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../gui/gui_frame.h:16, from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/../gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../gui/gui_frame.h:16, from gui/labellist_frame_t.h:4, from gui/labellist_frame_t.cc:8: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/labellist_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/labellist_stats_t.o gui/labellist_stats_t.cc In file included from gui/../tpl/../macros.h:4, from gui/../tpl/vector_tpl.h:6, from gui/labellist_stats_t.h:11, from gui/labellist_stats_t.cc:8: gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../tpl/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/vector_tpl.h:6, from gui/labellist_stats_t.h:11, from gui/labellist_stats_t.cc:8: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/labellist_stats_t.h:12, from gui/labellist_stats_t.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/labellist_stats_t.h:12, from gui/labellist_stats_t.cc:8: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/labellist_stats_t.cc:11: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/labellist_stats_t.cc:11: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/line_item.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/line_item.o gui/line_item.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_scrollbar.h:8, from gui/components/gui_scrolled_list.h:15, from gui/line_item.h:4, from gui/line_item.cc:3: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/components/../../tpl/vector_tpl.h:6, from gui/components/gui_scrolled_list.h:21, from gui/line_item.h:4, from gui/line_item.cc:3: gui/components/../../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/line_item.h:4, from gui/line_item.cc:3: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.h:15, from gui/line_item.h:4, from gui/line_item.cc:3: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/line_item.cc:3: gui/line_item.h: In constructor ‘line_scrollitem_t::line_scrollitem_t(linehandle_t)’: gui/line_item.h:21:132: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 21 | t_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } | ^ In file included from gui/../linehandle_t.h:4, from gui/line_item.h:5, from gui/line_item.cc:3: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/line_management_gui.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/line_management_gui.o gui/line_management_gui.cc In file included from gui/../dataobj/ribi.h:11, from gui/../dataobj/koord.h:4, from gui/../dataobj/koord3d.h:4, from gui/../dataobj/schedule_entry.h:4, from gui/../dataobj/schedule.h:4, from gui/line_management_gui.cc:7: gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../dataobj/schedule_entry.h:4, from gui/../dataobj/schedule.h:4, from gui/line_management_gui.cc:7: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/../gui/karte.h:4, from gui/line_management_gui.cc:10: gui/../gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/../gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../gui/components/gui_komponente.h:11, from gui/../gui/karte.h:4, from gui/line_management_gui.cc:10: gui/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/line_management_gui.cc:10: gui/../gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/../gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/../gui/components/gui_komponente.h:11, from gui/../gui/karte.h:4, from gui/line_management_gui.cc:10: gui/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/schedule_gui.h:12, from gui/line_management_gui.h:7, from gui/line_management_gui.cc:17: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../gui/components/gui_komponente.h:11, from gui/../gui/karte.h:4, from gui/line_management_gui.cc:10: gui/../gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/line_management_gui.cc: In constructor ‘line_management_gui_t::line_management_gui_t(linehandle_t, player_t*)’: gui/line_management_gui.cc:22:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 22 | this->line = line; | ^~~~ In file included from gui/../dataobj/../halthandle_t.h:4, from gui/../dataobj/schedule.h:6, from gui/line_management_gui.cc:7: gui/../dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/line_management_gui.cc: In member function ‘virtual void line_management_gui_t::rdwr(loadsave_t*)’: gui/line_management_gui.cc:118:23: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 118 | line = linehandle_t(); | ^ In file included from gui/../dataobj/../halthandle_t.h:4, from gui/../dataobj/schedule.h:6, from gui/line_management_gui.cc:7: gui/../dataobj/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/load_relief_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/load_relief_frame.o gui/load_relief_frame.cc In file included from gui/../simworld.h:17, from gui/load_relief_frame.cc:11: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/load_relief_frame.cc:11: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/load_relief_frame.h:12, from gui/load_relief_frame.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/load_relief_frame.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/load_relief_frame.h:12, from gui/load_relief_frame.cc:12: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/load_relief_frame.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/welt.h:19, from gui/load_relief_frame.cc:13: gui/components/gui_map_preview.h: In member function ‘void gui_map_preview_t::set_map_data(array2d_tpl*, scr_size)’: gui/components/gui_map_preview.h:45:15: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 45 | map_size = max_size_par; | ^~~~~~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/load_relief_frame.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/load_relief_frame.cc: In constructor ‘load_relief_frame_t::load_relief_frame_t(settings_t*)’: gui/load_relief_frame.cc:43:26: warning: ‘maps/’ directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 43 | sprintf(extra_path,"%s%smaps/", env_t::program_dir, env_t::objfilename.c_str()); | ^~~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/cstdio:42, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/ext/string_conversions.h:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/bits/basic_string.h:6535, from /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/string:55, from gui/load_relief_frame.cc:8: /usr/include/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 1029) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/loadsave_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/loadsave_frame.o gui/loadsave_frame.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/loadsave_frame.cc:8: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:12, from gui/loadsave_frame.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:12, from gui/loadsave_frame.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:12, from gui/loadsave_frame.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/loadsave_frame.h:12, from gui/loadsave_frame.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:12, from gui/loadsave_frame.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/map_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/map_frame.o gui/map_frame.cc In file included from gui/components/../../display/../dataobj/loadsave.h:14, from gui/components/../../display/scr_coord.h:5, from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/vector_tpl.h:6, from gui/../simline.h:15, from gui/karte.h:6, from gui/map_frame.cc:16: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/map_frame.cc:16: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/map_frame.h:15, from gui/map_frame.cc:17: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/map_frame.cc:24: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../halthandle_t.h:4, from gui/karte.h:5, from gui/map_frame.cc:16: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/map_frame.cc: In member function ‘virtual bool map_frame_t::infowin_event(const event_t*)’: gui/map_frame.cc:616:48: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 616 | size = reliefkarte_t::get_karte()->get_size(); | ^ In file included from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/map_frame.cc: In member function ‘virtual void map_frame_t::set_windowsize(scr_size)’: gui/map_frame.cc:637:31: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 637 | window_size = get_windowsize(); | ^ In file included from gui/components/gui_komponente.h:11, from gui/karte.h:4, from gui/map_frame.cc:16: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/message_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/message_frame_t.o gui/message_frame_t.cc In file included from gui/../gui/simwin.h:17, from gui/message_frame_t.cc:8: gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/message_frame_t.cc:9: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/message_frame_t.h:13, from gui/message_frame_t.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/message_frame_t.cc:9: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/message_frame_t.h:13, from gui/message_frame_t.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/message_frame_t.cc:9: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/message_option_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/message_option_t.o gui/message_option_t.cc In file included from gui/../simmesg.h:4, from gui/message_option_t.cc:10: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/message_option_t.cc:12: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/message_option_t.h:7, from gui/message_option_t.cc:17: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../gui/../display/simgraph.h:22, from gui/../gui/gui_theme.h:13, from gui/../simmesg.h:5, from gui/message_option_t.cc:10: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/message_option_t.h:7, from gui/message_option_t.cc:17: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../gui/../display/simgraph.h:22, from gui/../gui/gui_theme.h:13, from gui/../simmesg.h:5, from gui/message_option_t.cc:10: gui/../gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/message_stats_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/message_stats_t.o gui/message_stats_t.cc In file included from gui/components/action_listener.h:11, from gui/components/gui_action_creator.h:11, from gui/components/gui_button.h:15, from gui/message_stats_t.cc:8: gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/components/../../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/message_stats_t.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_button.h:16, from gui/message_stats_t.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/message_stats_t.cc:8: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/messagebox.h:4, from gui/message_stats_t.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/components/gui_komponente.h:11, from gui/components/gui_button.h:16, from gui/message_stats_t.cc:8: gui/components/../../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/message_stats_t.cc:16: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/message_stats_t.cc:16: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/messagebox.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/messagebox.o gui/messagebox.cc In file included from gui/../simworld.h:17, from gui/messagebox.cc:8: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/messagebox.cc:8: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/messagebox.cc:15: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/messagebox.cc:8: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/messagebox.h:4, from gui/messagebox.cc:15: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/messagebox.cc:8: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/money_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/money_frame.o gui/money_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/money_frame.h:11, from gui/money_frame.cc:10: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/optionen.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/optionen.o gui/optionen.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/optionen.cc:13: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/optionen.cc:13: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/optionen.cc:13: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/optionen.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/optionen.cc:13: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/optionen.cc:13: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/pakselector.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/pakselector.o gui/pakselector.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/pakselector.cc: In member function ‘virtual void pakselector_t::set_windowsize(scr_size)’: gui/pakselector.cc:175:24: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 175 | size = get_windowsize(); | ^ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/pakselector.cc: In member function ‘virtual void pakselector_t::fill_list()’: gui/pakselector.cc:148:7: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/password_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/password_frame.o gui/password_frame.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/password_frame.cc:9: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/../simtool.h:11, from gui/password_frame.cc:10: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/password_frame.h:13, from gui/password_frame.cc:22: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/../simtool.h:11, from gui/password_frame.cc:10: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/password_frame.h:13, from gui/password_frame.cc:22: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/../simtool.h:11, from gui/password_frame.cc:10: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/player_frame_t.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/player_frame_t.o gui/player_frame_t.cc In file included from gui/../simworld.h:17, from gui/player_frame_t.cc:17: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/player_frame_t.cc:17: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/money_frame.h:11, from gui/player_frame_t.cc:29: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/player_frame_t.cc:17: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/money_frame.h:11, from gui/player_frame_t.cc:29: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/player_frame_t.cc:17: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/privatesign_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/privatesign_info.o gui/privatesign_info.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/obj_info.h:11, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/obj_info.h:12, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/obj_info.h:13, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/obj_info.h:13, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/obj_info.h:13, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/obj_info.h:13, from gui/privatesign_info.h:12, from gui/privatesign_info.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/savegame_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/savegame_frame.o gui/savegame_frame.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/savegame_frame.cc: In member function ‘virtual void savegame_frame_t::set_windowsize(scr_size)’: gui/savegame_frame.cc:614:24: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 614 | size = get_windowsize(); | ^ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from /usr/include/string.h:495, from gui/savegame_frame.cc:9: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void savegame_frame_t::shorten_path(char*, const char*, size_t)’ at gui/savegame_frame.cc:754:9: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void savegame_frame_t::add_section(std::string&)’ at gui/savegame_frame.cc:164:10: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/scenario_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/scenario_frame.o gui/scenario_frame.cc In file included from gui/../utils/log.h:13, from gui/../simdebug.h:23, from gui/scenario_frame.cc:8: gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../utils/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:10: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:10: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:10: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:10: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:10: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/scenario_info.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/scenario_info.o gui/scenario_info.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/scenario_info.cc:7: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/../simworld.h:20, from gui/scenario_info.cc:6: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/scenario_info.cc: In member function ‘virtual void scenario_info_t::resize(scr_coord)’: gui/scenario_info.cc:87:133: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 87 | ARGIN_RIGHT + D_SCROLLBAR_WIDTH, D_MARGIN_BOTTOM + D_SCROLLBAR_HEIGHT); | ^ In file included from gui/gui_frame.h:16, from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/schedule_gui.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/schedule_gui.o gui/schedule_gui.cc In file included from gui/../simline.h:9, from gui/schedule_gui.cc:9: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/vector_tpl.h:6, from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/schedule_gui.cc:11: gui/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: gui/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_gui.cc:15: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_gui.cc:17: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/depot_frame.h:15, from gui/schedule_gui.cc:36: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/../simhalt.h:16, from gui/schedule_gui.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/depot_frame.h:15, from gui/schedule_gui.cc:36: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../display/simgraph.h:22, from gui/../simhalt.h:16, from gui/schedule_gui.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/schedule_gui.cc:36: gui/depot_frame.h: In member function ‘void depot_frame_t::set_selected_line(linehandle_t)’: gui/depot_frame.h:318:62: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 318 | void set_selected_line(linehandle_t line) { selected_line = line; } | ^~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_gui.cc:38: gui/line_item.h: In constructor ‘line_scrollitem_t::line_scrollitem_t(linehandle_t)’: gui/line_item.h:21:132: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 21 | t_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_gui.cc:41: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/../display/simgraph.h:22, from gui/../simhalt.h:16, from gui/schedule_gui.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/schedule_gui.cc: In constructor ‘schedule_gui_t::schedule_gui_t(schedule_t*, player_t*, convoihandle_t)’: gui/schedule_gui.cc:254:38: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 254 | old_line = new_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:254:38: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 254 | old_line = new_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:260:40: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 260 | old_line = new_line = cnv_->get_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:260:40: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 260 | old_line = new_line = cnv_->get_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc: In member function ‘virtual bool schedule_gui_t::action_triggered(gui_action_creator_t*, value_t)’: gui/schedule_gui.cc:599:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 599 | new_line = li->get_line(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:606:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 606 | new_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:625:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 625 | new_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:630:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 630 | new_line = old_line; | ^~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc: In member function ‘void schedule_gui_t::init_line_selector()’: gui/schedule_gui.cc:649:15: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 649 | new_line = old_line; | ^~~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:652:28: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 652 | new_line = linehandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc:667:16: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 667 | new_line = line; | ^~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_gui.cc: In member function ‘virtual void schedule_gui_t::set_windowsize(scr_size)’: gui/schedule_gui.cc:715:41: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 715 | size = get_windowsize()-scr_size(0,16+1); | ^ In file included from gui/../display/simgraph.h:22, from gui/../simhalt.h:16, from gui/schedule_gui.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/schedule_gui.cc: In member function ‘virtual void schedule_gui_t::rdwr(loadsave_t*)’: gui/schedule_gui.cc:797:24: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 797 | cnv = convoihandle_t(); | ^ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../convoihandle_t.h:4, from gui/../simline.h:11, from gui/schedule_gui.cc:9: gui/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/schedule_list.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/schedule_list.o gui/schedule_list.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/schedule_list.cc:16: gui/line_item.h: In constructor ‘line_scrollitem_t::line_scrollitem_t(linehandle_t)’: gui/line_item.h:21:132: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 21 | t_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_list.cc:20: gui/../simdepot.h: In member function ‘void depot_t::set_last_selected_line(linehandle_t)’: gui/../simdepot.h:216:81: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 216 | ted_line(const linehandle_t last_line) { last_selected_line=last_line; } | ^~~~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_list.cc:26: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/schedule_list.cc:49: gui/karte.h: In member function ‘void reliefkarte_t::set_xy_offset_size(scr_coord, scr_size)’: gui/karte.h:206:14: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 206 | new_size = size; | ^~~~ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/schedule_list.cc: In constructor ‘schedule_list_gui_t::schedule_list_gui_t(player_t*)’: gui/schedule_list.cc:275:87: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 275 | d_line[player->get_player_nr()][selected_tab[player->get_player_nr()]]; | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_list.cc: In member function ‘virtual bool schedule_list_gui_t::action_triggered(gui_action_creator_t*, value_t)’: gui/schedule_list.cc:385:125: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 385 | [player->get_player_nr()]] = selected_line[player->get_player_nr()][0]; | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_list.cc:404:83: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 404 | player->get_player_nr()][selected_tab[player->get_player_nr()]] = line; | ^~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_list.cc:405:47: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 405 | selected_line[player->get_player_nr()][0] = line; // keep these the same in overview | ^~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_list.cc: In member function ‘void schedule_list_gui_t::update_lineinfo(linehandle_t)’: gui/schedule_list.cc:715:9: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 715 | line = new_line; | ^~~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/schedule_list.cc: In member function ‘virtual void schedule_list_gui_t::rdwr(loadsave_t*)’: gui/schedule_list.cc:767:25: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 767 | size = get_windowsize(); | ^ In file included from gui/gui_frame.h:16, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: gui/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:18, from gui/schedule_list.h:21, from gui/schedule_list.cc:13: gui/components/../../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/server_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/server_frame.o gui/server_frame.cc In file included from gui/../simworld.h:17, from gui/server_frame.cc:12: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../tpl/weighted_vector_tpl.h:7, from gui/../simworld.h:23, from gui/server_frame.cc:12: gui/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/server_frame.h:10, from gui/server_frame.cc:30: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/server_frame.cc:12: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/server_frame.h:10, from gui/server_frame.cc:30: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, from gui/../boden/wege/../../descriptor/way_desc.h:10, from gui/../boden/wege/weg.h:14, from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:31, from gui/server_frame.cc:12: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/settings_frame.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/settings_frame.o gui/settings_frame.cc In file included from gui/../simobj.h:11, from gui/../simcity.h:11, from gui/settings_frame.cc:9: gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/../simobj.h:15, from gui/../simcity.h:11, from gui/settings_frame.cc:9: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/settings_frame.h:12, from gui/settings_frame.cc:17: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../dataobj/environment.h:9, from gui/settings_frame.cc:13: gui/../dataobj/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/settings_frame.h:12, from gui/settings_frame.cc:17: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../dataobj/environment.h:9, from gui/settings_frame.cc:13: gui/../dataobj/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ gui/settings_frame.cc: In member function ‘virtual bool settings_frame_t::action_triggered(gui_action_creator_t*, value_t)’: gui/settings_frame.cc:94:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ gui/settings_frame.cc:102:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | chdir( env_t::program_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ gui/settings_frame.cc:103:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | chdir( env_t::objfilename.c_str() ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui/settings_frame.cc:110:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ gui/settings_frame.cc:130:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 130 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/settings_stats.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/settings_stats.o gui/settings_stats.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/welt.h:12, from gui/settings_stats.cc:8: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/welt.h:19, from gui/settings_stats.cc:8: gui/components/gui_map_preview.h: In member function ‘void gui_map_preview_t::set_map_data(array2d_tpl*, scr_size)’: gui/components/gui_map_preview.h:45:15: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 45 | map_size = max_size_par; | ^~~~~~~~~~~~ In file included from gui/gui_frame.h:16, from gui/welt.h:12, from gui/settings_stats.cc:8: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/signal_spacing.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/signal_spacing.o gui/signal_spacing.cc In file included from gui/../display/../dataobj/loadsave.h:14, from gui/../display/scr_coord.h:5, from gui/gui_frame.h:16, from gui/signal_spacing.cc:6: gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../dataobj/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../dataobj/../tpl/vector_tpl.h:6, from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/signal_spacing.cc:6: gui/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/signal_spacing.cc:6: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/signal_spacing.cc:6: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/signal_spacing.cc:6: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, from gui/signal_spacing.cc:6: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX gui/simwin.cc c++ -O2 -pipe -march=native -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o build/default/gui/simwin.o gui/simwin.cc In file included from gui/../display/../unicode.h:5, from gui/../display/simgraph.h:18, from gui/simwin.cc:27: gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if CXX11(4, 4, 0) | ^ gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:40:18: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 46 | #if CXX11(4, 7, 1400) | ^ gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] gui/../display/../simtypes.h:46:21: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from gui/../display/../dataobj/../tpl/vector_tpl.h:6, from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/../macros.h:7:42: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 7 | #if !defined __GNUC__ || GCC_ATLEAST(3, 0) | ^ In file included from gui/simwin.cc:28: gui/../display/viewport.h: In member function ‘void viewport_t::set_follow_convoi(convoihandle_t)’: gui/../display/viewport.h:243:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 243 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/gui_frame.h:20, from gui/map_frame.h:15, from gui/simwin.cc:54: gui/components/gui_komponente.h: In member function ‘virtual void gui_component_t::set_size(scr_size)’: gui/components/gui_komponente.h:127:10: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 127 | size = size_par; | ^~~~~~~~ In file included from gui/../display/simgraph.h:22, from gui/simwin.cc:27: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/map_frame.h:15, from gui/simwin.cc:54: gui/gui_frame.h: In member function ‘void gui_frame_t::set_min_windowsize(scr_size)’: gui/gui_frame.h:156:60: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 156 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/../display/simgraph.h:22, from gui/simwin.cc:27: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/simwin.cc:65: gui/convoi_detail_t.h: In member function ‘void gui_vehicleinfo_t::set_cnv(convoihandle_t)’: gui/convoi_detail_t.h:46:43: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 46 | void set_cnv( convoihandle_t c ) { cnv = c; } | ^ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/convoi_info_t.h:27, from gui/simwin.cc:66: gui/../simconvoi.h: In member function ‘void convoi_t::set_update_line(linehandle_t)’: gui/../simconvoi.h:830:63: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/simwin.cc: In function ‘void rdwr_all_win(loadsave_t*)’: gui/simwin.cc:503:11: error: narrowing conversion of ‘magic_none’ from ‘int’ to ‘unsigned int’ [-Wnarrowing] 503 | case magic_none: return; | ^~~~~~~~~~ gui/simwin.cc: In function ‘int top_win(int, bool)’: gui/simwin.cc:862:41: warning: implicitly-declared ‘constexpr scr_size& scr_size::operator=(const scr_size&)’ is deprecated [-Wdeprecated-copy] 862 | size = wins.back().gui->get_windowsize(); | ^ In file included from gui/../display/simgraph.h:22, from gui/simwin.cc:27: gui/../display/scr_coord.h:112:2: note: because ‘scr_size’ has user-provided ‘scr_size::scr_size(const scr_size&)’ 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../display/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../display/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:749:68: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’: gui/../display/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../display/../dataobj/../tpl/vector_tpl.h:203:13: required from ‘bool vector_tpl::remove(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:767:78: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../display/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../display/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:743:72: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: gui/../display/../dataobj/../tpl/vector_tpl.h: In instantiation of ‘void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]’: gui/../display/../dataobj/../tpl/vector_tpl.h:94:5: required from ‘void vector_tpl::append(const T&) [with T = quickstone_tpl]’ gui/../display/../dataobj/../tpl/vector_tpl.h:108:4: required from ‘bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]’ gui/../simhalt.h:761:82: required from here gui/../display/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared ‘constexpr quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)’ is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from gui/../display/../convoihandle_t.h:4, from gui/../display/viewport.h:14, from gui/simwin.cc:28: gui/../display/../tpl/quickstone_tpl.h:185:2: note: because ‘quickstone_tpl’ has user-provided ‘quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]’ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ gui/simwin.cc: In function ‘void win_poll_event(event_t*)’: gui/simwin.cc:1468:8: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1468 | chdir( env_t::user_dir ); | ~~~~~^~~~~~~~~~~~~~~~~~~ make: *** [common.mk:51: build/default/gui/simwin.o] Error 1 * ERROR: games-simulation/simutrans-0.120.2.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-simulation/simutrans-0.120.2.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-simulation/simutrans-0.120.2.2::gentoo'`. * The complete build log is located at '/var/log/portage/games-simulation:simutrans-0.120.2.2:20200521-163214.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/simutrans-0.120.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/simutrans-0.120.2.2/temp/environment'. * Working directory: '/var/tmp/portage/games-simulation/simutrans-0.120.2.2/work' * S: '/var/tmp/portage/games-simulation/simutrans-0.120.2.2/work'