As I understands in that thread from GNOME desktop-devel-list, it seems to be merely default configuration issues (-Wformat=2 -Werror) which is set to prevent security issues (if someone hijacks the format string).

It should be possible to override, but unfortunately I don't understand C++ or g++ at all. -_-||

Geneko Nemeth (Kakurady Drakenar)

Opensource Obscure 写道:

On Sat, 01 Nov 2008 12:04:04 -0400, 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

It happens here too, after I moved to Ubuntu 8.10 (I was trying to build
from maint-viewer-11).

After a bit of searching I found this message
http://www.mail-archive.com/[EMAIL PROTECTED]/msg13443.html

I'm not sure this is related. However I managed to work around the first
error message by adding "%s" as explained there. The error appeared again during the build process, so I didn't bother to continue.


If I get it correctly, this problem depends on g++ version we're using.
Correct?
If yes, could anyone please suggest a clean way for me to install a different g++ version, and use that one to build the SL viewer?


Opensource Obscure
--
http://friendfeed.com/oobscure


_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to