[sr-dev] [kamailio/kamailio] warnings when compiling with -O2 in core/cfg/cfg_ctx.c (#1004)

juha-h notifications at github.com
Wed Feb 22 10:18:55 CET 2017


-O2 flags comes from this line in debian/rules:

CC_EXTRA_OPTS += $(shell dpkg-buildflags --get CFLAGS)

which gives:

$ dpkg-buildflags --get CFLAGS
-g -O2 -fstack-protector-strong -Wformat -Werror=format-security

In order to avoid the warnings, something needs to be changed in rules file to override the default value -O2;

So I would argue that this is not an enhancement request but a bug in debian/rules.  I don't know how to change this back to a bug issue.




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1004#issuecomment-281613256
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170222/f8d6bb94/attachment.html>


More information about the sr-dev mailing list