Cool of your compiler to catch that.  Fixed and the fix pushed.

cm


On 09/10/14 21:21, Blake McBride wrote:
Compiled on a 64 bit Linux box.

...
gcc -DHAVE_CONFIG_H -I. -I..    -std=c99 -Wall -Werror -pthread
-I/usr/include/gtk-3.0 -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/home/blake/Backup/apl/src  -g -O2 -MT
aplwrap-pstat.o -MD -MP -MF .deps/aplwrap-pstat.Tpo -c -o
aplwrap-pstat.o `test -f 'pstat.c' || echo './'`pstat.c
In file included from /usr/include/string.h:638:0,
                 from pstat.c:3:
In function ‘memset’,
    inlined from ‘get_pstat’ at pstat.c:62:9:
/usr/include/x86_64-linux-gnu/bits/string3.h:81:30: error: call to
‘__warn_memset_zero_len’ declared with attribute warning: memset used
with constant zero length parameter; this could be due to transposed
parameters [-Werror]
       __warn_memset_zero_len ();
                              ^
cc1: all warnings being treated as errors
make[2]: *** [aplwrap-pstat.o] Error 1
make[2]: Leaving directory `/home/blake/Backup/aplwrap.git/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blake/Backup/aplwrap.git'
make: *** [all] Error 2


Reply via email to