[sldev] Building 1.21.6 / g++ 4.3 / linux: "format not a string literal and no format arguments"

Geneko Nemeth kakurady at gmail.com
Sat Nov 1 09:04:04 PDT 2008


"format not a string literal and no format arguments" pop up
gratuitously when compiling 1.21.6. Ubuntu 8.10

Geneko Nemeth (Kakurady Drakenar)

Build log:

nekoyasha at Nekokoneko:~/Downloads/secondlife-1.21.99857-src/linden/indra/viewer-linux-i686$
make -k
[ 0%] Built target llaudio
[ 3%] Built target llcharacter
[ 11%] Built target llcommon
[ 12%] Built target llimage
[ 13%] Built target llimagej2coj
[ 14%] Built target llinventory
[ 18%] Built target llmath
[ 19%] Built target llmedia
[ 30%] Built target llmessage
[ 31%] Built target llprimitive
[ 33%] Built target llrender
[ 33%] Built target llvfs
[ 33%] Building CXX object llwindow/CMakeFiles/llwindow.dir/llwindowsdl.o
cc1plus: warnings being treated as errors
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/llwindow/llwindowsdl.cpp:
In function 'S32 OSMessageBoxSDL(const std::string&, const std::string&,
U32)':
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/llwindow/llwindowsdl.cpp:2533:
error: format not a string literal and no format arguments
make[2]: *** [llwindow/CMakeFiles/llwindow.dir/llwindowsdl.o] Error 1
make[2]: Target `llwindow/CMakeFiles/llwindow.dir/build' not remade
because of errors.
make[1]: *** [llwindow/CMakeFiles/llwindow.dir/all] Error 2
[ 34%] Built target llxml
[ 34%] Building CXX object
lscript/lscript_compile/CMakeFiles/lscript_compile.dir/lscript_tree.o
cc1plus: warnings being treated as errors
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:
In member function 'virtual void LLScriptFunctionCall::recurse(LLFILE*,
S32, S32, LSCRIPTCompilePass, LSCRIPTPruneType, BOOL&, LLScriptScope*,
LSCRIPTType&, LSCRIPTType, U64&, LLScriptByteCodeChunk*,
LLScriptByteCodeChunk*, S32, LLScriptScopeEntry*, S32, LLScriptLibData**)':
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:7888:
error: format not a string literal and no format arguments
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:7891:
error: format not a string literal and no format arguments
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:
In member function 'virtual void LLScriptEventHandler::recurse(LLFILE*,
S32, S32, LSCRIPTCompilePass, LSCRIPTPruneType, BOOL&, LLScriptScope*,
LSCRIPTType&, LSCRIPTType, U64&, LLScriptByteCodeChunk*,
LLScriptByteCodeChunk*, S32, LLScriptScopeEntry*, S32, LLScriptLibData**)':
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:9723:
error: format not a string literal and no format arguments
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:
In member function 'virtual void
LLScriptGlobalFunctions::recurse(LLFILE*, S32, S32, LSCRIPTCompilePass,
LSCRIPTPruneType, BOOL&, LLScriptScope*, LSCRIPTType&, LSCRIPTType,
U64&, LLScriptByteCodeChunk*, LLScriptByteCodeChunk*, S32,
LLScriptScopeEntry*, S32, LLScriptLibData**)':
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/lscript/lscript_compile/lscript_tree.cpp:10155:
error: format not a string literal and no format arguments
make[2]: ***
[lscript/lscript_compile/CMakeFiles/lscript_compile.dir/lscript_tree.o]
Error 1
make[2]: Target
`lscript/lscript_compile/CMakeFiles/lscript_compile.dir/build' not
remade because of errors.
make[1]: ***
[lscript/lscript_compile/CMakeFiles/lscript_compile.dir/all] Error 2
[ 34%] Built target lscript_execute
[ 34%] Built target lscript_library
[ 35%] Built target llcrashlogger
[ 41%] Built target llui
[ 41%] Building CXX object
linux_crash_logger/CMakeFiles/linux-crash-logger.dir/llcrashloggerlinux.o
cc1plus: warnings being treated as errors
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp:
In function 'BOOL do_ask_dialog()':
/home/nekoyasha/Downloads/secondlife-1.21.99857-src/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp:93:
error: format not a string literal and no format arguments
make[2]: ***
[linux_crash_logger/CMakeFiles/linux-crash-logger.dir/llcrashloggerlinux.o]
Error 1
make[2]: Target
`linux_crash_logger/CMakeFiles/linux-crash-logger.dir/build' not remade
because of errors.
make[1]: *** [linux_crash_logger/CMakeFiles/linux-crash-logger.dir/all]
Error 2
make[2]: Circular
linux_crash_logger/CMakeFiles/linux-crash-logger-stripped <-
linux-crash-logger-stripped dependency dropped.
[ 41%] Built target linux-crash-logger-stripped
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.



More information about the SLDev mailing list