[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 10:16:09 PDT 2008

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 <kakurady at gmail.com>
> 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/desktop-devel-list@gnome.org/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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20081101/06ec773e/attachment-0001.htm

More information about the SLDev mailing list