[Geany-devel] Nightly build failed: Plugins GTK 2.8 build test

Enrico Tröger enrico.troeger at xxxxx
Sun Aug 30 12:55:42 UTC 2009


On Sun, 30 Aug 2009 03:56:02 +0000 (UTC), noreply at nightly.geany.org
wrote:

Lionel,

>Plugins GTK 2.8 build test failed at: waf build
>
>See http://nightly.geany.org/misc/build_gtk28_plugins_stderr.log for
>details.
>
>Last error message:
>../../gtk28_test_plugins/codenav/src/codenavigation.c:209: error:
>(Each undeclared identifier is reported only
>once ../../gtk28_test_plugins/codenav/src/codenavigation.c:209: error:
>for each function it appears
>in.) ../../gtk28_test_plugins/codenav/src/codenavigation.c:251:
>warning: comparison between signed and
>unsigned ../../gtk28_test_plugins/codenav/src/codenavigation.c:260:
>warning: implicit declaration of function
>'g_strcmp0' ../../gtk28_test_plugins/codenav/src/codenavigation.c:311:
>warning: ISO C90 forbids mixed declarations and code Build failed

maybe you want to fix the error.

g_strcmp0() is only available in newer GLib versions but not with GLib
2.8 which we try to stay compatible with.
The most easiest fix is to use Geany's utils_str_equal() which does
also NULL-safe string comparison. But note it returns TRUE or FALSE,
not the difference between the strings.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090830/63bdbb8b/attachment.pgp>


More information about the Devel mailing list