Explicit cast results in wrong C-code
Submitted by fre..@..com.br
Link to original bug (#770061)
Description
Created attachment 333534 Source files which compiles with Vala but fails with the C compiler.
The steps to reproduce this bug are very simple. There is an attached zip file with three vala source files packed on it (there's also an error log file). By compiling them with the following command:
valac --pkg gtk+-3.0 teste.vala PRODIGAS/phone.vala PRODIGAS/GUI/phone.vala
The C compiler fails, even though valac doesn't fail. The C compiler I'm using is gcc. "gcc --version" outputs "gcc (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)".
Attachment 333534, "Source files which compiles with Vala but fails with the C compiler.":
source-files.zip
Version: 0.32.x