[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 894400] Re: gschem: FTBFS with -Werror=format-security in CFLAGS
** Patch added: "format-security.diff"
https://bugs.launchpad.net/bugs/894400/+attachment/2607078/+files/format-security.diff
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/894400
Title:
gschem: FTBFS with -Werror=format-security in CFLAGS
Status in GPL Electronic Design Automation tools:
New
Bug description:
Recently, when I build geda-gaf 1.6.2 in Debian, I get the following
error:
gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -I../../libgeda/include -I./../include -I../.. -I/usr/include -I../../intl -D_FORTIFY_SOURCE=2 -I/include -Wall -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -c -o gschem-gschem.o `test -f 'gschem.c' || echo './'`gschem.c
gschem.c: In function 'main_prog':
gschem.c:219:31: error: format not a string literal and no format arguments [-Werror=format-security]
gschem.c:221:5: error: format not a string literal and no format arguments [-Werror=format-security]
cc1: some warnings being treated as errors
A patch fixing this FTBFS is attached.
To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/894400/+subscriptions
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug