Re: [chrony-dev] Logs from buidling with clang 3.4 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Thu, Oct 03, 2013 at 02:57:49PM +0200, Paul Menzel wrote:
> Dear chrony developers,
>
>
> building chrony with Debian clang version 3.4-1 the following warning is
> emitted.
>
> $ CC=clang ./configure
> $ make
> […]
> manual.c:93:11: warning: implicit conversion from 'double' to 'int' changes value from 0.2 to 0 [-Wliteral-conversion]
> error = ERROR_MARGIN;
> ~ ^~~~~~~~~~~~
> manual.c:67:22: note: expanded from macro 'ERROR_MARGIN'
> #define ERROR_MARGIN 0.2
This is an unused code, I've removed it. Thanks for the report.
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.