On Fri, 28 Mar 2008 16:18:51 +0100, Andreas Mokros
<[EMAIL PROTECTED]> wrote:

> Hi.
> 
> > GeanyLua 0.7.0 is out, with the following enhancements
> 
> Tried to compile it on Ubuntu Gutsy 64bit.
> Got the following errors:
> 
> geanylua.c:51: error: expected declaration specifiers or '...' before
> numeric constant 
> geanylua.c:54: warning: return type defaults to 'int'
> geanylua.c: In function 'VERSION_CHECK':
> geanylua.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '{' token 
> geanylua.c:62: error: storage class specified for
> parameter 'InitFunc'
> 
> on so on.
> 
> Could this be something 64bit-specific?
Nope.
It's because the Geany's plugin API has just changed. Find the attached
patch to solve the problem, use it with:
patch -p1 < geanylua_compile.patch
in the geanylua source directory.

This is just an incompatibility which exists since a day...;-).

@Jeff: maybe it's better to not set GEANY_DISABLE_DEPRECATED in the
makefile for a release, as often as we break the API ;-).

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
--- geanylua-0.7.0_orig/geanylua.c	2008-03-13 15:57:55.000000000 +0100
+++ geanylua-0.7.0/geanylua.c	2008-03-28 17:00:14.154576726 +0100
@@ -48,7 +48,7 @@
 #define MKPATH(dir) g_build_path(G_DIR_SEPARATOR_S, dir, "plugins", "geanylua", SUPPORT_LIB, NULL);

 PLUGIN_EXPORT
-VERSION_CHECK(MY_GEANY_API_VER)
+PLUGIN_VERSION_CHECK(MY_GEANY_API_VER)

 PLUGIN_EXPORT
 PLUGIN_INFO(PLUGIN_NAME, PLUGIN_DESC, PLUGIN_VER, PLUGIN_AUTHOR)

Attachment: pgp3JLTD2CPTG.pgp
Description: PGP signature

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to