[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Compiling with -Werror=format-security
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Compiling with -Werror=format-security |
Date: |
Sat, 08 Mar 2014 08:06:33 +0000 |
I've fixed this in git, thanks.
Richard
On Fri, 2014-03-07 at 21:45 +0100, Andreas Schneider wrote:
> Trying to compile on Debian stable with -Wformat -Werror=format-security
> (the Debian build script uses that), I get the following error in
> tools/cairo_svg2path.c:
>
> gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2
> -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security -D_WITH_AUBIO_4_ -I/usr/include/aubio
> -D_WITH_AUBIO_3_ -I/usr/include/libxml2 -pthread
> -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo
> -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2
> -pthread -lgthread-2.0 -lrt -lglib-2.0 -lsndfile
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -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/libpng12 -pthread
> -I/usr/include/gtksourceview-3.0 -I/usr/include/libxml2
> -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -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/libpng12 -pthread
> -I/usr/include/gtk-3.0 -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pango-1.0
> -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2
> -I/usr/include/pixman-1 -I/usr/include/libpng12
> -I/usr/include/evince/3.0 -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_
> -D_HAVE_RUBBERBAND_ -D_HAVE_PORTAUDIO_ -pthread -D_HAVE_PORTMIDI_
> -D_HAVE_X11_ -c cairo_svg2path.c
> cairo_svg2path.c: In function ‘main’:
> cairo_svg2path.c:644:7: error: format not a string literal and no format
> arguments [-Werror=format-security]
> cc1: some warnings being treated as errors
> make[2]: *** [cairo_svg2path.o] Fehler 1
> make[2]: Leaving directory `/home/src/denemo/tools'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/src/denemo'
> make: *** [all] Fehler 2
>
> Andreas
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel