[sr-dev] rtpengine compiler warnings

Richard Fuchs rfuchs at sipwise.com
Tue Apr 14 14:46:20 CEST 2015


On 14/04/15 04:36 AM, Juha Heinanen wrote:
> 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]
> ...

Are you using some kind of special compile flags or a different
compiler? Because I'm not seeing those.

Cheers



More information about the sr-dev mailing list