C to Delphi converter (2018) 7 years ago
Could somebody please check how it converts the following program:
#include <stdio.h>
int main()
{
if (((unsigned char) 255) + ((unsigned char) 255) == 510) {
puts("yes");
} else {
puts("no");
}
}
(The code outputs "yes", and it does not rely on undefined behavior.)In other words, I doubt that proper “conversion”, with all the C semantics, is feasible.