#3861: Compile error in sequence.cpp
--------------------+------------------------------------
Reporter: NoQ | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: other | Version: git/master
Keywords: | Blocked By:
Blocking: | Operating System: GNU/Linux 32bit
--------------------+------------------------------------
Worked fine yesterday (:
{{{
DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty
-I../../3rdparty/quesoglc -I/usr/include/GL -DQT_SHARED
-I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript
-O0 -g -Werror -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-
sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-
security -DQT_SHARED -I/usr/include/QtCore -I/usr/include/QtNetwork
-I/usr/include/QtScript -fstack-protector -MT sequence.o -MD -MP -MF
.deps/sequence.Tpo -c -o sequence.o sequence.cpp
sequence.cpp: In function 'bool seq_Play(const char*)':
sequence.cpp:745:4: error: format '%d' expects argument of type 'int', but
argument 5 has type 'double' [-Werror=format]
sequence.cpp:745:4: error: format '%d' expects argument of type 'int', but
argument 6 has type 'double' [-Werror=format]
cc1plus: all warnings being treated as errors
make[2]: *** [sequence.o] Error 1
make[2]: Leaving directory `/home/noq/wz/warzone2100/lib/sequence'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/noq/wz/warzone2100'
make: *** [all] Error 2
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/3861>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project