Hello, thank you for confirmation.
This is my mistake. I believed that 'extern "{C,C++}"' must be
used with '{' and '}' braces.
Therefore, the patch can only recognize 'extern "*" {...}' expression,
not one like your code.
Now I have to think about this rule again.
Thank you for telling me a valuable information.
If someone find problems in my code, please let me know.
Regards,
Hideki IWAMOTO wrote:
>
> 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
>
>
--
View this message in context:
http://www.nabble.com/GNU-GLOBAL-skips-indexing-of-inline-functions-in-files-having-C%2B%2B-support-macros-tp11539370p20362512.html
Sent from the Gnu - Global - Bugs mailing list archive at Nabble.com.
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global