New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build broken with gcc-4.9.4 on OpenBSD #3295
Comments
That's strange. We use continuous integration with Travis CI. It builds every commit to the 1.14 branch with GCC 4.8.4 on GNU/Linux, and is working just fine. |
also note that master will no longer support gcc 4.x so this bug applies only to the 1.14 branch |
@jyrkive That's the travis version of GCC, not the docker version. Docker's GCC version for 1.14 is 5.4: |
What additional info could help? |
@yason This bug report doesn't need any more info. The label was incorrect. |
Closing as 1.14 isn't intended to get any further releases at this point. |
Hi!
1.14.3 compiles fine with clang-6.0.0 on OpenBSD but fails when compiling witj gcc-4.9.4:
FAILED: src/CMakeFiles/wesnoth-client.dir/gui/dialogs/loading_screen.cpp.o
/tmp/pobj/wesnoth-1.14.3/bin/c++ -DFIFODIR="/var/wesnothd" -DHAS_RELATIVE_LOCALEDIR=1 -DHAVE_CONFIG_H -DHAVE_FRIBIDI -DHAVE_LIBDBUS -DLOCALEDIR="translations" -DLUA_USE_POSIX -DWESNOTH_PATH="/usr/local/share/wesnoth" -D_X11 -isystem /usr/X11R6/include -isystem /usr/X11R6/include/freetype2 -isystem /usr/local/include/pango-1.0 -isystem /usr/local/include/harfbuzz -isystem /usr/local/include -isystem /usr/local/include/fribidi -isystem /usr/local/include/cairo -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -isystem /usr/X11R6/include/pixman-1 -isystem /usr/local/include/libpng16 -isystem /usr/local/include/dbus-1.0 -isystem /usr/local/lib/dbus-1.0/include -isystem /usr/local/include/SDL2 -I/tmp/pobj/wesnoth-1.14.3/wesnoth-1.14.3/src -Isrc -std=c++11 -Wall -Wextra -Werror=non-virtual-dtor -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wold-style-cast -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/X11R6/include -D_REENTRANT -I/usr/X11R6/include -MD -MT src/CMakeFiles/wesnoth-client.dir/gui/dialogs/loading_screen.cpp.o -MF src/CMakeFiles/wesnoth-client.dir/gui/dialogs/loading_screen.cpp.o.d -o src/CMakeFiles/wesnoth-client.dir/gui/dialogs/loading_screen.cpp.o -c /tmp/pobj/wesnoth-1.14.3/wesnoth-1.14.3/src/gui/dialogs/loading_screen.cpp
/tmp/pobj/wesnoth-1.14.3/wesnoth-1.14.3/src/gui/dialogs/loading_screen.cpp: In destructor 'virtual gui2::dialogs::loading_screen::~loading_screen()':
/tmp/pobj/wesnoth-1.14.3/wesnoth-1.14.3/src/gui/dialogs/loading_screen.cpp:208:3: error: 'quick_exit' is not a member of 'std'
std::quick_exit(0);
^
It compiles with gcc-4.9.4 when #else std::quick_exit(0) is removed.
Probably another define needed to use std::_Exit(0) instead of std::quick_exit(0) with gcc4.
The text was updated successfully, but these errors were encountered: