bug-global
[Top][All Lists]
Advanced

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

Re: GNU GLOBAL skips indexing of inline functions in files having C++ su


From: Hideki IWAMOTO
Subject: Re: GNU GLOBAL skips indexing of inline functions in files having C++ support macros
Date: Thu, 06 Nov 2008 23:34:09 +0900

Hi.

On Thu, 6 Nov 2008 03:26:49 -0800 (PST), Hirohito Kato wrote...
> +                                     warning("missing 'extern \"C\"' block. 
> [+%d %s](0x%x).", lineno,
> curfile, c);

I can not understand the meaning of this warning message. 
Is there any problem in the following source code?

===================
$ cat externC.cc
extern "C" void foo(void);
extern "C++" void bar(void);

int main(void){ foo(); bar(); return 0;}
$ gtags -w
Warning: missing 'extern "C"' block. [+1 ./externC.cc](0x812).
Warning: missing 'extern "C"' block. [+2 ./externC.cc](0x812).
Warning: missing 'extern "C"' block. [+1 ./externC.cc](0x812).
Warning: missing 'extern "C"' block. [+2 ./externC.cc](0x812).
Warning: missing 'extern "C"' block. [+1 ./externC.cc](0x812).
Warning: missing 'extern "C"' block. [+2 ./externC.cc](0x812).
===================

----
Hideki IWAMOTO  address@hidden




reply via email to

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