Hello Global Maintainers,

I seem to have run into one or possibly two bugs while trying out
Global:

Recipe:

1. Create a new directory for testing:
   - mkdir debug

2. Create a new file in the directory e.g. `main.cpp' with the contents:

    #include <iostream>

    #define TEST_MACRO struct test<

    int main(void)
    {
        std::cout << "hello, world!" << std::endl;
        return 0;
    }

3. Generate tags:
   - `gtags'
   - Bug 1: Parser error: `gtags: failed to parse template [+3
     ./main.cpp].'

4. Trying to use the generated tags then leads to possibly different
   bug:
   - `global -u'
   - Bug 2: `gtags: /home/guswal01/git/debug/GTAGS seems older
     format. Please remake tag files.'

This occured on `Global 6.5'.4 when built on Ubuntu 15.10 using the
default `sh reconf.sh && ./configure' settings.

In my opinion, failing to parse some odd C++ file is usually fine, but
in in this it seems like the tag files get corrupted somehow.

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

Reply via email to