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  [EMAIL PROTECTED]


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

Reply via email to