| Summary: | Indexer fails with GTK+ 3 | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Jussi Pakkanen <jpakkane> |
| Component: | cdt-indexer | Assignee: | Project Inbox <cdt-indexer-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Additional note: you also need to add /usr/include/glib-2.0 to include path. This is not really a bug with the indexer. It seems that glib installs the header that specifies gint32 etc types in a platform specific location. For example on this machine it is: /usr/lib/x86_64-linux-gnu/glib-2.0/include/ Adding that dir to include path makes it work. |
Build Identifier: I20110613-1736 Some symbols in GTK+ 3 headers are overlooked for some reason. Reproducible: Always Steps to Reproduce: Start a new C project. Create a dummy.c file with the following contents: #include <gtk/gtk.h> void foo(gint works, gint32 fails) { } Go to project settings and add /usr/include/gtk-3.0 to include path. Eclipse notices the GTK+ header, and indexes it but gives an error for the symbol gint32. It should recognise it without problems. This did work in the previous Eclipse release.