First and beforehand, i know that there are plenty wrong things in that code. It comes from PureData, the fdn~ external, and i butchered it to ensure, in a first time, there would be only the big errors left. I didn't do the outlets/inlets translation rightly so far, i may have borked things when i replaced all t_int with int...
The wort thing apparently seems related to the use of a nested function. Nested functions are not part of c standard, but allowed by most gcc compilers. Apple disabled it by default, it is possible to re enable it by adding a -fnested-functions in the "other C flags" field of the project build infos. Thus, the "Nested functions are disabled" error message went away.
But there are still 2 errors left, at the same line as where that nested function thing was giving trouble (line 475) :
error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
error: expected expression before '->' token
I attached the bugging source in case anyone would feel like giving it an eye. Thanks in advance !