This is due to the fact that you are using the clang compiler, which is pickier than gcc. (it might call itself gcc, but it is clang

This post provides a patch to fix the problem (that is seen also on macosx because of clang).
I kindly ask the synfig developers to incorporate the patch 