[asterisk-bugs] [JIRA] (ASTERISK-26308) compilation failed with -Werror=maybe-uninitialized
Alexei Gradinari (JIRA)
noreply at issues.asterisk.org
Fri Aug 19 10:23:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Gradinari updated ASTERISK-26308:
----------------------------------------
Description:
The compilation failed for devmode
{quote}
--enable DONT_OPTIMIZE
--enable BETTER_BACKTRACES
--enable DO_CRASH
--enable TEST_FRAMEWORK
{quote}
{quote}
res_pjsip/pjsip_configuration.c: In function ‘dtls_handler’:
res_pjsip/pjsip_configuration.c:974:20: error: ‘back’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
int size = strlen(front);
^
cc1: all warnings being treated as errors
{quote}
was:
The compilation failed for devmode
--enable DONT_OPTIMIZE
--enable BETTER_BACKTRACES
--enable DO_CRASH
--enable TEST_FRAMEWORK
res_pjsip/pjsip_configuration.c: In function ‘dtls_handler’:
res_pjsip/pjsip_configuration.c:974:20: error: ‘back’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
int size = strlen(front);
^
cc1: all warnings being treated as errors
> compilation failed with -Werror=maybe-uninitialized
> ---------------------------------------------------
>
> Key: ASTERISK-26308
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26308
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.10.0-rc1, 13.11.0
> Reporter: Alexei Gradinari
>
> The compilation failed for devmode
> {quote}
> --enable DONT_OPTIMIZE
> --enable BETTER_BACKTRACES
> --enable DO_CRASH
> --enable TEST_FRAMEWORK
> {quote}
> {quote}
> res_pjsip/pjsip_configuration.c: In function ‘dtls_handler’:
> res_pjsip/pjsip_configuration.c:974:20: error: ‘back’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
> int size = strlen(front);
> ^
> cc1: all warnings being treated as errors
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list