Note that dccarm (Android) compiler is broken in 10.2, some code causes F2084 Internal Error: URW1187 (bad is that it doesn't point to the line but goes to unit end so you don't know where is "dangerous" code).

Note that dccarm (Android) compiler is broken in 10.2, some code causes F2084 Internal Error: URW1187 (bad is that it doesn't point to the line but goes to unit end so you don't know where is "dangerous" code).
"Bad" code:
C.Elements[i].BaseStyle.Left.Pixels := C.Elements[i].BaseStyle.Old.Left.Pixels - P.X +
C.Elements[i].BaseStyle.Left.Pixels;

"Good" code:
k := C.Elements[i].BaseStyle.Old.Left.Pixels;
k := k - P.X + C.Elements[i].BaseStyle.Left.Pixels;
C.Elements[i].BaseStyle.Left.Pixels := k;

Comments

  1. Horácio Filho, Not yet, I still do not have small reproducible example.

    ReplyDelete
  2. If you could reproduce it on a smaller code snippet, we'd really appreciate a bug report. The code above should compile both ways, at first sight. We have tested the compiler on countless applications and not encountered any critical issue.

    ReplyDelete

Post a Comment