GNOME Bugzilla – Bug 344326
Cannot build selective gaussian blur on Solaris 8
Last modified: 2008-01-15 14:06:59 UTC
void matrixmult() function includes return the trivial patch removes return in macro EXPAND()
Created attachment 66999 [details] [review] remove return in void matrixmult()
Ok, this patch is not correct, since it omits the functionality of the "return". But this should be easily fixable in the Macro.
What's wrong with that macro? The preprocessor is supposed to be a text mangling engine, not something that looks at the text substituted. I'd say this is a broken preprocessor.
Ehm, ignore my last comment. Of course the preprocessor doesn't care about the return, you meant the function itself has no return value :)
Created attachment 67001 [details] [review] updated patch to restore return in macro EXPAND
Thanks for the patch, had already fixed it in my local tree and its now in CVS: 2006-06-08 Simon Budig <simon@gimp.org> * plug-ins/common/sel_gauss.c: fix the EXPAND macro to make picky compilers happy. Fixes bug #344326, spotted by Eric Lamarque.