[asterisk-bugs] [JIRA] (ASTERISK-30060) loader: format warnings in dev mode
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Sat May 14 16:12:40 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-30060:
--------------------------------------
Assignee: N A
Status: Waiting for Feedback (was: Triage)
Do you have any confirmation on the platform or environment this happened on besides believing it was Debian 10 on an old version of Asterisk 18? I'm asking because it would be nice to know for history reasons, and to ensure it's actually fixed and to know the real impact.
> 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: N A
>
> 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