Unfortunately I don't know where it can come from.
I don't understand your error.
On my side I had no issue with compiling core.c.
Line 1154 is my final line, so I checked whether I had some compilation options or whatever but nothing special in this file.
Good luck and keep hope!