There's still one such warning emitted from the crash logger. Fix is
trivial though. Attached 1416_geneko.diff
Still unable to run the binary however; packaging was not done. Attached
packfail.log
In addition at the end of the build there was a period of time when make
allocated lots of memory. Wonder what it's doing?
Geneko Nemeth
Soft 写道:
Have a try with trunk/. I believe Sardonyx just fixed a bunch of
these, which may have been revealed with the newer g++ version
warnings. If all is well there, maint-viewer-12 should see the fix
when it's created.
On Sat, Nov 1, 2008 at 11:04 AM, Geneko Nemeth <[EMAIL PROTECTED]> wrote:
"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:
[EMAIL
PROTECTED]:~/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.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges
Index: indra/linux_crash_logger/llcrashloggerlinux.cpp
===================================================================
--- indra/linux_crash_logger/llcrashloggerlinux.cpp (revision 1416)
+++ indra/linux_crash_logger/llcrashloggerlinux.cpp (working copy)
@@ -90,7 +90,7 @@
win = gtk_message_dialog_new(NULL,
flags, messagetype, buttons,
- dialog_text);
+ "%s", dialog_text);
gtk_window_set_type_hint(GTK_WINDOW(win),
GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_window_set_title(GTK_WINDOW(win), dialog_title);
[EMAIL PROTECTED]:~/Downloads/secondlife-trunk-1405-src/trunk/indra/viewer-linux-i686-relwithdebinfo$ export LANG="C" && make -k
[ 1%] Built target llaudio
[ 4%] Built target llcharacter
[ 11%] Built target llcommon
[ 13%] 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
[ 34%] Built target llwindow
[ 35%] Built target llxml
[ 37%] Built target lscript_compile
[ 37%] Built target lscript_execute
[ 37%] Built target lscript_library
[ 38%] Built target llcrashlogger
[ 44%] Built target llui
[ 44%] Built target linux-crash-logger
make[2]: Circular linux_crash_logger/CMakeFiles/linux-crash-logger-stripped <- linux-crash-logger-stripped dependency dropped.
[ 44%] Built target linux-crash-logger-stripped
[ 44%] Built target fmodwrapper
[ 99%] Built target secondlife-bin
make[2]: *** No rule to make target `../newview/SecondLife-i686-1.21.6.100000.tar.bz2', needed by `newview/CMakeFiles/package'.
make[2]: *** No rule to make target `../newview/secondlife-stripped', needed by `newview/SecondLife-i686-1.21.6.100000.tar.bz2'.
make[2]: Target `newview/CMakeFiles/package.dir/build' not remade because of errors.
make[1]: *** [newview/CMakeFiles/package.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges