Generated C header redefines symbols
Submitted by Tom Beckmann
The generated C header redefines all symbols that are already defined in the generated C files. This behavior is a major blocking point for me at the moment to port large projects to vala gradually, as some vala symbols may have to be called from C side and C symbols from vala side, resulting in the generated header being included in the generated C code.
A test case can be found here: https://drive.google.com/file/d/0B_Ze8u-C0LF9dVQ3VnVOMERTdzQ/edit?usp=sharing (as tar) http://bazaar.launchpad.net/~tombeckmann/+junk/circular-dependencies/files (as bzr branch)
Fixing this would help vala adoption in legacy project. I'm currently porting midori and preparing a series of blog posts about the whole process.
For reference, this is the WIP midori file port, it's about the midori/midori-browser.vala file https://code.launchpad.net/~elementary-apps/midori/browser-vala There may be other problems in this branch, which I haven't noticed because of the abundance of errors generated by this problem.