[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: destructor implementation picked up instead of class
From: |
Shigio YAMAGUCHI |
Subject: |
Re: destructor implementation picked up instead of class |
Date: |
Tue, 06 Apr 2010 10:37:47 +0900 |
Hi,
You might not set environment variable GTAGSFORCECPP.
GLOBAL treats each *.h file as a C source file by default.
This specification seems to bring confusions to C++ users.
I want to find a better solution. If you have a better idea,
please tell me. Thank you.
> CCsString is the name of a class in our code base. If I enter this command:
>
> global -x CCsString
>
> I get this as a result:
>
> CCsString 81 vobs/un_General/libCommon/Src/CsString.cpp
> CCsString::~CCsString()
>
> Global seems to think that the implementation of the destructor is a
> definition, and tags it. This happens for other classes as well, aside
> from the example CCsString class.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3