#3845: Failure to build 3.1rc3 on OpenBSD
--------------------------+--------------------------------
Reporter: brad@… | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: Build system | Version: 3.1 rc 3
Keywords: | Operating System: *BSD
--------------------------+--------------------------------
Warzone 2100 3.1rc3 fails to build on OpenBSD...
{{{
c++ -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -I/usr/local/include/SDL
-D_REENTRANT -I/usr/X11R6/include -DXTHREADS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -DNDEBUG
-DWZ_DATADIR="\"/usr/local/share/warzone2100\""
-DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty
-I../../3rdparty/quesoglc -DQT_SHARED -I/usr/local/include/X11/qt4
-I/usr/local/include/X11/qt4/QtNetwork
-I/usr/local/include/X11/qt4/QtScript -I/usr/local/include/X11/qt4/QtCore
-I/usr/X11R6/include -I/usr/local/include/libpng -I/usr/local/include -g
-DQT_SHARED -I/usr/local/include/X11/qt4
-I/usr/local/include/X11/qt4/QtNetwork
-I/usr/local/include/X11/qt4/QtScript -I/usr/local/include/X11/qt4/QtCore
-O2 -pipe -fstack-protector -MT frameresource.o -MD -MP -MF
.deps/frameresource.Tpo -c -o frameresource.o frameresource.cpp
frameresource.cpp: In function 'void resForceBaseDir(const char*)':
frameresource.cpp:94: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'void resSetBaseDir(const char*)':
frameresource.cpp:101: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'bool resLoad(const char*, SDWORD)':
frameresource.cpp:110: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'RES_TYPE* resAlloc(const char*)':
frameresource.cpp:165: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'void SetLastResourceFilename(const
char*)':
frameresource.cpp:249: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'void makeLocaleFile(char*, size_t)':
frameresource.cpp:396: error: 'strlcpy' was not declared in this scope
frameresource.cpp: In function 'bool resLoadFile(const char*, const
char*)':
frameresource.cpp:454: error: 'strlcpy' was not declared in this scope
frameresource.cpp:455: error: 'strlcat' was not declared in this scope
gmake[3]: *** [frameresource.o] Error 1
}}}
--
Ticket URL: <http://developer.wz2100.net/ticket/3845>
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_122912
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project