On Sun, Aug 15, 2010 at 06:01, Lex Trotman elextr@gmail.com wrote:
Hi,
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).
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 available on every unix system, I'm just not sure in what environment geany is compiled under windows.
Cheers
Jiri
Cheers Lex
CC regex.o regex.c: In function ‘re_match_2’: regex.c:3769: warning: cast from pointer to integer of different size regex.c:3769: warning: cast from pointer to integer of different size regex.c:3775: warning: cast to pointer from integer of different size regex.c:3775: warning: cast to pointer from integer of different size regex.c:3922: warning: cast to pointer from integer of different size regex.c:3922: warning: cast to pointer from integer of different size regex.c:3975: warning: cast to pointer from integer of different size regex.c:3975: warning: cast to pointer from integer of different size regex.c:4081: warning: cast from pointer to integer of different size regex.c:4081: warning: cast from pointer to integer of different size regex.c:4114: warning: cast to pointer from integer of different size regex.c:4114: warning: cast to pointer from integer of different size regex.c:4127: warning: cast to pointer from integer of different size regex.c:4127: warning: cast to pointer from integer of different size regex.c:4295: warning: cast from pointer to integer of different size regex.c:4295: warning: cast from pointer to integer of different size _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel