https://bugs.kde.org/show_bug.cgi?id=242925 Summary: KDevelop does not properly parse GLEW headers Product: kdevelop Version: 4.0.0 Platform: Gentoo Packages OS/Version: Linux Status: NEW Severity: normal Priority: NOR Component: Language Support: CPP AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: branan@gmail.com Version: 4.0.0 (using KDE 4.4.4) OS: Linux Some functions show up, but most do not. I suspect the difference lies in which functions are core in GL.h, and which are added specifically as function pointers by GLEW. The following is a compressed excerpt from glew.h that demonstrates the typical function: #define GLEW_GET_FUN(x) x typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void); #define glCreateProgram GLEW_GET_FUN(__glewCreateProgram) GLEW_FUN_EXPORT PFNGLCREATEPROGRAMPROC __glewCreateProgram; Reproducible: Always Steps to Reproduce: Open a C++ file that uses GLEW to access OpenGL Actual Results: Most OpenGL functions will be marked as not found; completion will not work for them Expected Results: OpenGL functions would be parsed correctly; completion should work on them -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs