[Geany-devel] Warnings in tagmanager/regex.c on x86-64

Lex Trotman elextr at xxxxx
Tue Aug 17 00:26:18 UTC 2010

On 17 August 2010 02:10, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> On Mon, 16 Aug 2010 14:54:54 +0200
> Jiří Techet <techet at gmail.com> wrote:
>> > I tried compiling latest SVN with --enable-gnu-regex on an x86-64 system.
>> >
>> > I only had time to look at the first few of them but the following
>> > errors seem to be due to casting between pointers and int but on
>> > x86-64 int is 32 bits and pointer is 64 bits so it isn't going to work
>> > :-(.
>> The regex library shipped with geany is from 2002 (or earlier, I don't
>> know) so it's pretty old. It would be best to upgrade to the latest
>> one from glibc (or the one that ships with the latest ctags which
>> appears to be from 2009).
> I think it should be upgraded.
>> By the way does geany have to provide its own copy of the regex
>> library? Isn't it already required by glib or gtk? It's also probably
> I'm not sure whether our required version of GLib/GTK require
> system regex.
> Also does having GLib/GTK development files installed always mean you
> also have the regex library headers installed?

I tried to see if the Glib regex could be used instead and AFAICT Glib
2.14 or above has regex, but I can't tell what version of Glib Geany
needs, the config only tests for GTK2.8 and I can't find anywhere
which Glib it needs.  Note Glib version not necessarily == GTK
version, my system has GTK 2.17 and Glib 2.21.


>> available on every unix system, I'm just not sure in what environment
>> geany is compiled under windows.
> The shipped one is always used on Windows IIRC.
> Regards,
> Nick
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

More information about the Devel mailing list