bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU GLOBAL skips indexing of inline functions in files having C++ suppor


From: Per Nordlöw
Subject: GNU GLOBAL skips indexing of inline functions in files having C++ support macros
Date: Tue, 10 Jul 2007 18:57:12 +0200

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]