[Geany-devel] Nightly build failed: Plugins Windows build

Enrico Tröger enrico.troeger at xxxxx
Wed Sep 9 21:27:10 UTC 2009


On Thu, 10 Sep 2009 00:49:00 +0300, Yura wrote:

>Hi
>
>On Wed,  9 Sep 2009 03:51:55 +0000 (UTC)
>noreply at nightly.geany.org wrote:
>
>> See http://nightly.geany.org/win32/build_win32_plugins_stderr.log
>> for details.
>> 
>> Error messages:
>> ../../plugins_svn/codenav/src/codenavigation.c: In function
>> `switch_menu_item_activate': ../../plugins_svn/codenav/src/codenavigation.c:251:
>> warning: comparison between signed and
>> unsigned ../../plugins_svn/codenav/src/codenavigation.c:315:
>> warning: ISO C90 forbids mixed declarations and
>> code ../../plugins_svn/geanylua/glspi_run.c: In function
>> `debug_hook': ... ../../plugins_svn/geanyprj/src/sidebar.c:278:
>> warning: ISO C90 forbids mixed declarations and code
>> default/geanyprj/src/utils_11.o: In function
>> `save_config': /home/enrico/geany/_build_/plugins_win32/../../plugins_svn/geanyprj/src/utils.c:170:
>> undefined reference to `_utils_write_file' collect2: ld returned 1
>> exit status
>
>Can anyone help me with this error? I have no idea how to fix this
>error.

Something like in the attached patch could be a start. The easiest way
is to migrate all code to the new "geanyplugin.h" which is basically
the only thing[1] you need to include.
In the patch I did this change only for utils.c, this surely applies to
the other source files as well but you know the code better than me :).


[1] geanyplugin.h includes all necessary Geany headers and the basic
GTK headers. It does *not* include C headers like string.h or
tagmanager/Scintilla headers.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geanyprj.patch
Type: text/x-diff
Size: 1361 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090909/3946fe9c/attachment.patch>
-------------- 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/20090909/3946fe9c/attachment.pgp>


More information about the Devel mailing list