[sr-dev] rtpengine compiler warnings

Juha Heinanen jh at tutpro.com
Tue Apr 14 10:36:55 CEST 2015


i just build rtpengine master on debian wheezy and got these kind of
warnings that i don't remember seeing before:

cc -g -Wall -pthread -fno-strict-aliasing -std=c99 `pkg-config --cflags glib-2.0` `pkg-config --cflags gthread-2.0` `pkg-config --cflags zlib` `pkg-config --cflags openssl` `pcre-config --cflags` -I../kernel-module/ -D_GNU_SOURCE -DRTPENGINE_VERSION="\"4.0.0.0+0~mr4.0.0.0\"" -DRE_PLUGIN_DIR="\"/usr/lib/rtpengine\"" -O3 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`  -c -o graphite.o graphite.c
In file included from /usr/include/stdio.h:930:0,
                 from cli.c:5:
In function 'sprintf',
    inlined from 'cli_incoming_list' at cli.c:187:8,
    inlined from 'cli_incoming' at cli.c:337:25:
/usr/include/i386-linux-gnu/bits/stdio2.h:34:3: warning: call to __builtin___sprintf_chk will always overflow destination buffer [enabled by default]
...

-- juha



More information about the sr-dev mailing list