probably unrelated:
>>I created a new ANSI-C Hello World MinGW (non-LPC) project
I'm wondering why MinGW is involved here? Comparing MinGW projects with GNU ARM Embedded is something completely different (libraries, headers, etc).
Anyway, you have to check your project (and settings). In my lwip there is
#ifndef errno
int errno = 0;
#endif
So it really depends if errno is defined somewhere or not: this can be with many reasons, and can be with subtle library header changes or changed include orders. Keep in mind that every IDE comes with a different version of the GNU ARM Embedded Toolchain and version, so it could be that there is a change there.
Erich