[Geany-devel] [pretty-print plugin] Failed to compile geany-plugins with latest geany

Enrico Tröger enrico.troeger at xxxxx
Tue Sep 15 17:34:03 UTC 2009


On Sat, 12 Sep 2009 10:54:51 +0200, Cédric wrote:

Hi,

>Thanks for your explanations :-) That's important to me to understand
>how it works !

on a side note, while fixing this issue you put the -fno-common flag in
your Makefile.am. This can be problematic when users have other
compilers than gcc and these compilers may not know the -fno-common
option. Most of the compiler flags are not common (except things like
-o, -c and -g) and so you should avoid using them in build system files
as much as possible. Same goes for -Wall.

If you still want to use them, just add:
CFLAGS="-Wall -fno-common"
export CFLAGS

to your ~/.bashrc or ~/.profile or the config file of whatever shell you
are using.

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/20090915/e62f7eb9/attachment.pgp>


More information about the Devel mailing list