[m-dev.] promoted ROTDs

Zoltan Somogyi zoltan.somogyi at runbox.com
Tue Jul 24 17:56:02 AEST 2018



On Tue, 24 Jul 2018 11:56:02 +1000, Peter Wang <novalazy at gmail.com> wrote:
> There are some C compiler warnings in hlc grades that would be better to
> fix first, e.g.
> 
> bitmap.c: In function 'mercury__bitmap__to_string_chars_4_p_0':
> bitmap.c:2627:26: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
>          MR_Word Var_25 = ((MR_Box) ((MR_String) "bitmap.to_string: internal error"));
> 
> lexer.c: In function 'mercury__lexer__string_get_source_line_number_7_p_0':
> lexer.c:9887:27: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
>              *HaveToken_12 = ((MR_Box) ((MR_Integer) -1));

This one is now fixed.

Zoltan.


More information about the developers mailing list