bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERROR assign: messages


From: W. J. van der Laan
Subject: ERROR assign: messages
Date: Sun, 18 Apr 2021 08:02:00 +0000

Hello,

I'm getting error output during mescc compilation about (ostensibly) variable 
size conflicts. Am I doing something wrong or is this expected output? For 
example--

  CC         ../lib/stdio/vsscanf.c
ERROR assign: (assn-expr (de-ref (p-expr (ident "d"))) (op "=") (fctn-call 
(p-expr (ident "abtol")) (expr-list (cast (type-name (decl-spec-list (type-spec 
(fixed-type "char"))) (abs-declr (pointer (pointer)))) (ref-to (p-expr (ident 
"p")))) (p-expr (fixed "10")))))   size[0]:4 != size[0]:8
ERROR assign: (assn-expr (de-ref (p-expr (ident "f"))) (op "=") (fctn-call 
(p-expr (ident "strtod")) (expr-list (p-expr (ident "p")) (ref-to (p-expr 
(ident "p"))))))   size[0]:4 != size[0]:8
ERROR assign: (assn-expr (de-ref (p-expr (ident "d"))) (op "=") (fctn-call 
(p-expr (ident "abtol")) (expr-list (cast (type-name (decl-spec-list (type-spec 
(fixed-type "char"))) (abs-declr (pointer (pointer)))) (re
f-to (p-expr (ident "p")))) (p-expr (fixed "10")))))   size[0]:4 != size[0]:8
ERROR assign: (assn-expr (de-ref (p-expr (ident "f"))) (op "=") (fctn-call 
(p-expr (ident "strtod")) (expr-list (p-expr (ident "p")) (ref-to (p-expr 
(ident "p"))))))   size[0]:4 != size[0]:8

The reason I am asking is because compilation does continue, it does not appear 
to be fatal. Still, I am worried about miscompilation.

-W



reply via email to

[Prev in Thread] Current Thread [Next in Thread]