Swig and -Werror=format-security

Orion Poplawski orion at cora.nwra.com
Wed Jan 22 17:34:45 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/21/2014 10:18 AM, Darryl L. Pierce wrote:
> Is anybody addressing the output of Swig WRT this problem? Our project 
> (Qpid) generates language bindings using Swig during the build process. 
> Our build is now failing on F21. For example:
> 
> /builddir/build/BUILD/qpid-0.24/cpp/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2237:38:error:
> format not a string literal and no format arguments
> [-Werror=format-security] rb_raise(error, ex.what());
> 
> Has anybody addressed this issue with Swig? I brought this up when the 
> idea of -Werror=format-security was being floated and a bug filed again 
> qpid-cpp for this failure and even replied as such in the BZ [1].
> 
> [1] BZ#1037295
> 
> 
> 

I don't think so.  Please file a bug upstream:

http://sourceforge.net/p/swig/bugs/

- -- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLgATEACgkQORnzrtFC2/tmLQCgmAB6u2IenmQQ42Wr7mc/fw4G
xE8AoLUAGyEEOEqN8L3cm5RNLY2joh94
=Sj2S
-----END PGP SIGNATURE-----


More information about the devel mailing list