[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: builtin c++ parser bug : #if pifstack over flow
From: |
Shigio YAMAGUCHI |
Subject: |
Re: builtin c++ parser bug : #if pifstack over flow |
Date: |
Tue, 24 Sep 2013 08:36:33 +0900 |
On Sat, 21 Sep 2013 02:56:42 +0900
Hideki IWAMOTO <address@hidden> wrote:
Hi,
I have put the bug into the Known bugs list.
<http://www.gnu.org/software/global/bugs.html>
Thank you.
> Hi. I have a problem on processing OpenH323 source file with gtags.
>
> - What is your environment (OS)?
> Fedora core 4
>
> - Which version of GLOBAL are you using?
> CVS head
>
> - What did you do? (command line)
> gtags
>
> - What did you expect from it?
> exit successfully
>
> - What was occurred? (as is)
> $ gtags
> gtags: #if pifstack over flow. [./h245_2.cxx]
>
>
> h245_2.cxx causing the problem is attached.
>
> The cause of this problem is that some "#endif" directives
> are not processed by condition_macro().
>
> ------ exmple --------
> #if defined(__GNUC__) && __GNUC__ <= 2 && __GNUC_MINOR__ < 9
> H245_CustomPictureFormat_pixelAspectInformation::operator
> H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode &() const
> #else // <<<====== This is not processed by condition_macro()
> H245_CustomPictureFormat_pixelAspectInformation::operator
> H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode &()
> {
> #ifndef PASN_LEANANDMEAN
> PAssert(PIsDescendant(PAssertNULL(choice),
> H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode),
> PInvalidCast);
> #endif
> return *(H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
> *)choice;
> }
>
>
> H245_CustomPictureFormat_pixelAspectInformation::operator const
> H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode &() const
> #endif // <<<====== This is not processed by condition_macro()
> {
> #ifndef PASN_LEANANDMEAN
> PAssert(PIsDescendant(PAssertNULL(choice),
> H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode),
> PInvalidCast);
> #endif
> return *(H245_CustomPictureFormat_pixelAspectInformation_pixelAspectCode
> *)choice;
> }
> -----------------------
> --
> Hideki IWAMOTO <address@hidden>
>
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3