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?
geanylua 0.6.1 compiled fine.
On Fri, 28 Mar 2008 16:18:51 +0100, Andreas Mokros am@medienpensionat.com 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
Hi.
On Fri, 28 Mar 2008 17:07:27 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
It's because the Geany's plugin API has just changed. Find the attached patch to solve the problem
Thanks for your quick answer. Compiled nicely now.
Also I didn't need to change geany.spec for installing Geany anymore. checkinstall used to complain there.