Hello,
You are right.
I will fix the bug when there is time.

Thank you for your report!

> 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.
--
Shigio YAMAGUCHI <[EMAIL PROTECTED]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


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

Reply via email to