[asterisk-bugs] [JIRA] (ASTERISK-30060) loader: format warnings in dev mode
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Thu Jun 16 15:01:53 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-30060:
-------------------------------------
Target Release Version/s: 18.13.0
> loader: format warnings in dev mode
> -----------------------------------
>
> Key: ASTERISK-30060
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30060
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General
> Affects Versions: 18.6.0
> Environment: Debian 10, Asterisk 18.6.0
> Reporter: N A
> Assignee: Sean Bright
> Target Release: 16.27.0, 18.13.0
>
>
> Unfortunately, I can't reproduce this on the machines I have access to the moment, but I believe the below warnings are originally from Asterisk 18.6.0 on Debian 10, developer mode.
> I can't reproduce this at the moment, but the relevant code still seems to be problematic, so I'm posting this in case it's related to the ongoing gcc fixes that are going on, and this could use some attention itself:
> {noformat}
> loader.c: In function ‘load_modules’:
> loader.c:2524:380: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=]
> ast_debug(1, "Loader time with AST_XML_DOCS: %ld.%06ld\n", usElapsed / 1000000, usElapsed % 1000000);
> loader.c:2524:380: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=]
> loader.c: In function ‘load_modules’:
> loader.c:2524:380: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=]
> ast_debug(1, "Loader time with AST_XML_DOCS: %ld.%06ld\n", usElapsed / 1000000, usElapsed % 1000000);
> loader.c:2524:380: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘int64_t’ {aka ‘long long int’} [-Wformat=]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list