ctags problem with branch 2_2

Otto Bruggeman bruggie at home.nl
Mon Sep 10 21:19:58 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 10 Sep 2001, Etay Meiri wrote:
> Hi,
>
> Last saturday(9/8) I compiled the 2_2 branch
> from CVS. when trying to load the tag file from the
> project menu I got an error that the "--fortran-types=-l"
> option to ctags was invalid. I'm using Exuberant Ctags 4.0.3.
> seems like a whole bunch of flags to ctags is not even
> mentioned in the man page (--fields for example). I made
> the following remarks in the CTagsCommandLine constructor which
> solved the problem:
>
> CTagsCommandLine() {                    // long form of arguments
>     m_onlyProjectFiles=false;
>     m_command = "ctags";
>     m_append = "";                        //--append=no      [default]
>     m_sort = "-u";                        //--sort=no
>     m_totals = "--totals";                //--totals=yes
>     m_excmd_pattern = "-n";               //--excmd=number
>     m_file_scope = "";                    //--file-scope=yes [default]
>     m_c_types = "--c++-types=+px";
>     m_fortran_types = "--fortran-types=-l"; /*+L";
>     m_fields = "--fields=+i";
>     m_extra = " --extra=+f";*/
>     m_recurse = "-R";                     // --recurse=on
>     /*m_exclude.append("--exclude=[Mm]ake*");
>     m_exclude.append("--exclude=config*");
>     m_exclude.append("--exclude=*.inc");
>     m_exclude.append("--exclude=*.bck");
>     m_exclude.append("--exclude=glimpse*");
>     m_exclude.append("--exclude=.glimpse*");
>     m_exclude.append("--exclude=CVS");*/
>   }
>
> Do I need to grab a newer version of ctags (this one came
> with RH 7.1)? or is it something else?
>
> BTW: other than that the tag feature is working ok. nice piece of
> work.
>
> TIA

AFAIK you need 5.0 or better of ctags so get the latest from
ctags.sourceforge.net. I believe they have src rpms so you should be
able to make them yourself with rpm --rebuild ctags....src.rpm
It should be in /usr/src/redhat/RPMS/i386/ then...

Otto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE7nS6GDc93sltYd+ERAoPTAJ9WnaH9DdKlPTKUsZH7nByIz4VcYwCgldD+
RG2j20k+b2eHnuV6+euf1gQ=
=bAnk
-----END PGP SIGNATURE-----



-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list