Cygwin Build Bug (Probably Affects other GNU GLIBC Builds)

For thread-safety reasons, the GNU C Library (2.2+) defines "errno"
as a macro that calls a function to get the errno of the current thread.
Consequently, the source file "src/runtime/Builtin/cIOExtras.c" needs
to include the

Brent Fulgham writes:
For thread-safety reasons, the GNU C Library (2.2+) defines "errno" as a macro that calls a function to get the errno of the current thread. Consequently, the source file "src/runtime/Builtin/cIOExtras.c" needs to include the
header file, rather than declaring an extern variable.
Thanks for the useful information. Your suggested patch is now listed on the nhc98 download page. Regards, Malcolm
participants (2)
-
Brent Fulgham
-
Malcolm Wallace