[Bug 211152] benchmarks/iozone: Build fails on typedef redefinition with different types ('long long' vs '__off64_t' (aka 'long'))
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 16 19:46:30 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211152
--- Comment #6 from w.schwarzenfeld at utanet.at ---
I provide the patch, but I am not really sure about it, cause I got warnings
like that: (But it compiles without problems in port and poudriere).
iozone.c:1920:25: warning: format specifies type 'long long *' but the argument
has type 'off64_t *' (aka 'long *') [-Wformat]
sscanf(optarg,"%lld",&kilobytes64);
~~~~ ^~~~~~~~~~~~
%ld
iozone.c:1944:69: warning: format specifies type 'long long' but the argument
has type 'off64_t' (aka 'long') [-Wformat]
sprintf(splash[splash_line++],"\tFile size set to %lld
kB\n",kilobytes64);
~~~~
^~~~~~~~~~~
%ld
don't know if this will cause errors in use.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list