I cannot understand popen/_popen absence

Пётр Б. satnatantas@gmail.com
Sun Jan 29 01:16:00 GMT 2017

Excuse me for vague wording, let me explain it.

I am trying to build Qt under Cygwin. For some mysterious reason
Cygwin compiler does not expose popen with std=c++11 which is required
for Qt
at the same time the MinGW compiler installed from Cygwin repository
does expose popen with same standard flag.

I did not yet find a convenient way of using MinGW compiler (which is
prefixed) so I am stuggling to get popen exposed.

What is the reason for this difference between MinGW and Cygwin?

2017-01-29 3:50 GMT+03:00, Пётр Б. <satnatantas@gmail.com>:
> tchar.h: http://pastebin.com/raw/109n342z
> So I only get popen if _POSIX_ is defined (which is not defined in any
> header, I searched Cygwin folder with file manager).
> stdio.h: http://pastebin.com/raw/jrd2dmzP
> So I only get popen if some conditions which I did not hear about are
> fullfilled. So, what sorcery should I use to get popen?

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list