https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68454
--- Comment #8 from M Joshua Ryan <luser.droog at gmail dot com> --- Yes, I think it must be something unique to cygwin over windows 10. This code compiles fine with gcc on cygwin/win8, mingw, linux, suncc on solaris, and even MSVC. I suppose it could even be something in the POSIX emu layer, and not gcc per se.