Snippets for apr 1.7.6 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/apr/1.7.6/6.fc45/data/logs/i686/build.log.
-
strings/apr_fnmatch.c:456:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 456 | char *idx = strrchr(pattern, '/'); | ^~~~~~~ -
strings/apr_fnmatch.c:459:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 459 | idx = strrchr(pattern, '\\'); | ^ -
abts.c:122:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | p = strrchr(suite_name, '.'); | ^ -
testatomic.c:331:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'apr_uint64_t' {aka 'long long unsigned int'} [-Wformat=] 331 | str = apr_psprintf(p, "zero wrap failed: 0 - 1 = %lu", y64); | ~~^ ~~~ | | | | | apr_uint64_t {aka long long unsigned int} | long unsigned int | %llu -
testatomic.c:345:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'apr_uint64_t' {aka 'long long unsigned int'} [-Wformat=] 345 | str = apr_psprintf(p, "zero wrap failed: -1 + 1 = %lu", y64); | ~~^ ~~~ | | | | | apr_uint64_t {aka long long unsigned int} | long unsigned int | %llu -
testcond.c:360:18: warning: variable 'consumed' set but not used [-Wunused-but-set-variable=] 360 | apr_uint32_t consumed = 0; | ^~~~~~~~