Hey there, bug-global.

I have a bug (or missing feature) to report for GNU GLOBAL:

GNU GLOBAL skips definitions of static inline functions in C-header files
having the standard entry and exit macros for C++ support.

In the example code

#ifdef __cplusplus
extern "C" {
#endif
static inline int inc1(int x) { return x+1; }
#ifdef __cplusplus
}
#endif

the function inc1 will not be indexed. The problem vanishes when I
remove extern
"C" { and } from the file.


Otherwise thanks for a great software package,

Per Nordlöw
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to