[Geany-devel] [PATCH 2/3] Prevent -Wmissing-prototypes report warning when compiling a plugin

Lex Trotman elextr at xxxxx
Thu Jun 10 13:19:00 UTC 2010


<snip>

> I would have to check what exactly -W and -ansi consist of but I think
> they don't contain -Wmissing-prototypes.
>

Thats right they don't.  There was a big argument on another project
site, -Wmissing-prototypes isn't automatic since the problem it
detects is completely legal, but as you point out is probably an error
since if the prototype of a global function isn't in a header how do
users use it safely?

Cheers
Lex

> Jiri
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list