GNOME Bugzilla – Bug 436761
VAPI files without cheader for namespace yield invalid #include
Last modified: 2008-10-18 20:41:18 UTC
Please describe the problem: When trying to use the libxml-2.0.vapi file, valac would generate #include </usr/share/vala/vapi/libxml-2.0.h> which obviously does not exist. Adding an explicit cheader (libxml/globals.h) fixed the problem, though I don't think this should be necessary. Steps to reproduce: 1. Try to compile something using the Xml namespace. 2. 3. Actual results: invalid #include statement, gcc fails with missing header file Expected results: no #include statement should be generated Does this happen every time? Yes Other information:
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
test case added to vala-tests