#4308: Compile master branch on Ubuntu
------------------------------------+-------------------------
Reporter: mickae1 | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: other | Version: git/master
Operating System: GNU/Linux 32bit |
------------------------------------+-------------------------
make[2]: Entering directory
`/home/mickael/warzone/warzone2100/lib/framework'
g++ -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_REENTRANT
-I/usr/include/SDL2 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DDEBUG
-DWZ_DATADIR="\"/usr/local/share/warzone2100\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty
-I../../3rdparty/quesoglc -I/usr/include/qt5/QtCore -I/usr/include/qt5
-I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-I/usr/include/qt5/QtScript -O0 -ggdb -Werror -Wno-enum-compare -Wall
-Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-
strings -Wpointer-arith -Wno-format-security -I/usr/include/qt5/QtCore
-I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets
-I/usr/include/qt5/QtScript -fPIC -std=c++11 -fstack-protector -MT crc.o
-MD -MP -MF .deps/crc.Tpo -c -o crc.o crc.cpp
In file included from crc.cpp:22:0:
../../lib/netplay/netsocket.h:119:46: error: ‘returns_nonnull’ attribute
directive ignored [-Werror=attributes]
WZ_DECL_ALLOCATION SocketSet *allocSocketSet();
///< Constructs a SocketSet.
--
Ticket URL: <http://developer.wz2100.net/ticket/4308>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project