Cygwin needs `-std=gnu++11` instead of `-std=c++11`, otherwise the `fileno` function is not exposed.
Cygwin needs
-std=gnu++11instead of-std=c++11, otherwise thefilenofunction is not exposed.