Xffm fails to compile with the following error message: callbacks.c: In function 'treeclick': callbacks.c:668: error: invalid storage class for function 'unsel' make[2]: *** [libxffm_basic_la-callbacks.lo] Error 1 This is due to a static function being declared inside another function, which violates the C standard. Reproducible: Always Steps to Reproduce: 1. Compile with gcc4 snapshot 2. 3. Actual Results: Fails with above error. Expected Results: Should compile.
Created attachment 198 GCC 4 compile fix
Patch applied to 4.2.x and 4.3.x branches.