X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=dcx2OOHtHrt/fNaKDPtmA5wJ2jC+1s/4uE20ObZnU93
	sHiRKAa7tP/vCSlH/3mI5jQXX4/rI+ITYsqdWlXmU5eJvD61iLMdvvXq2AKZaQ/P
	qb3XbGV4wKuNcqgVIDAh6ZbAgfl5iZOEAcC7TcmAPIcF3HhWYFDNLH+U7RYrWltc
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	 s=default; bh=/CYx935w6h9g+0usuVf+kQAPb3c=; b=GZ4+8oKdUefcZuwhn
	q0TuQHVV+fDpGxyTPNpdeW8RDqlsSieyakgSq7oqYdH9vpus4jE2suvsP2oNuLx2
	lzKMhoczbw+pAAKD++jWodv8Z+U6EHQ7CZJIrMO79SBbQ0r4Fwfs36vDu39cf0uE
	vQwRfGp+x6gWpNcdvzOk7N9z64=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=BAYES_05,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=2017-01-29, 20170129, Hx-languages-length:961, satnatantas@gmail.com
X-HELO: mail-ua0-f178.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:mime-version:in-reply-to:references:from:date         :message-id:subject:to:content-transfer-encoding;        bh=G4d5AYkAn2iZmVhDTWeH3H+fgS+rg/iBIVkWl1Xew+0=;        b=Kvy0FivB4KGRJWi8SW3uzk7HN0SYWBAbfOOACodykeJPeRk8Sja4qDLkkd+HaAW7M3         D8sIbHINsPbXJUjxtadShE4zYMq4ED5STMCpJrRw13OQOX1t4se6vnHOb00iCoFgHybB         twsiOq2YNYrCj3JQLtLFVW8bEFX2SmAXPlePZvvty9xQH1VL3k7EC0JUr3FY3A+PbIOJ         LhV+GiSsjT8EGum8nGH+S9pdtNd2bSZSUKRMJQ7rEFAhGAfb45wg2hpvvwrbNTOnFtFF         3zIeGzWy2UJkvItKykZwi00qRlCXba8x+SyUY2aDkAqxHfEfhuzdnJU1vzcR6ZpzpuPi         7pjA==
X-Gm-Message-State: AIkVDXJ8YH13o2cENhZbOxiVQcLsuVbV+eYIu+mPLLHwnOpf5L0A7BRMWVuW5kC1oOSFOMHe7P2HFLHDw/DiEQ==
X-Received: by 10.176.85.26 with SMTP id t26mr6690311uaa.1.1485652605983; Sat, 28 Jan 2017 17:16:45 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CA+Ni7jMptR4522KzUKomR1SreADo49ptHyyufyBOCMtC78MpsQ@mail.gmail.com>
References: <CA+Ni7jMptR4522KzUKomR1SreADo49ptHyyufyBOCMtC78MpsQ@mail.gmail.com>
From: =?UTF-8?B?0J/RkdGC0YAg0JEu?= <satnatantas@gmail.com>
Date: Sun, 29 Jan 2017 04:16:45 +0300
Message-ID: <CA+Ni7jN7-U4TgcyEnY7LMYmrmCz8moNAXhUg0RxnLhEQfTTm2Q@mail.gmail.com>
Subject: Re: I cannot understand popen/_popen absence
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v0T1HBaE004535

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
BUT
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


