After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 436761 - VAPI files without cheader for namespace yield invalid #include
VAPI files without cheader for namespace yield invalid #include
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator
0.0.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-08 02:47 UTC by Michael Lawrence
Modified: 2008-10-18 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Lawrence 2007-05-08 02:47:36 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:
Comment 1 Jürg Billeter 2007-05-09 09:40:54 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Comment 2 Marc-Andre Lureau 2008-10-18 20:41:18 UTC
test case added to vala-tests