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

Nick Treleaven nick.treleaven at xxxxx
Mon Aug 16 16:10:15 UTC 2010


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?

> 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



More information about the Devel mailing list