delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/29/07:13:36

X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=b1j4ZmP5UwAMtCXR
0MGvT8urGJOR5dztQhDRV+rJvOplACJPi1PEEbVPl8rrLRMEIUBXZy0/zBSd8k4i
VBpkySUj2W2bg4QsgeRC2LebGCM0Ohb398k0TQ3eHIaYQ2ATT5q1hMJeNQFurPId
M8/S4UfHSsOXfOHgXIwjBcRYsYo=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=uxWvCFsBoeR9wxSbebfbYn
sDn5A=; b=XSnNvhgDHCiH8dRL8Zerxg5RZkrL8hMndYLuf50J+ekHUma9XSDiH2
WPBKTbDFHLQDscO0yKlEkvoXgGoKFRdofvFqQIwIRy2vs53mBt7oF/MgBtXZGWWo
m1T0QF/sk1jOK5JMteufYY+FLhobRCzx+31ewo1TJnDlsmtikl+0w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=BAYES_50,BODY_8BITS,GARBLED_BODY,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=mystery, mingw, MinGW, H*f:sk:Ni7jMpt
X-HELO: mailout03.t-online.de
Subject: Re: I cannot understand popen/_popen absence
To: cygwin AT cygwin DOT com
References: <CA+Ni7jMptR4522KzUKomR1SreADo49ptHyyufyBOCMtC78MpsQ AT mail DOT gmail DOT com> <CA+Ni7jN7-U4TgcyEnY7LMYmrmCz8moNAXhUg0RxnLhEQfTTm2Q AT mail DOT gmail DOT com>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Message-ID: <81c14577-90a3-f954-352d-fb27bbc2644b@t-online.de>
Date: Sun, 29 Jan 2017 13:12:57 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <CA+Ni7jN7-U4TgcyEnY7LMYmrmCz8moNAXhUg0RxnLhEQfTTm2Q@mail.gmail.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Am 29.01.2017 um 02:16 schrieb Пётр Б.:
> I am trying to build Qt under Cygwin.

What keeps you from using the existing build? Or from at least looking 
at its source package to see how it was managed?

 > For some mysterious reason
> Cygwin compiler does not expose popen with std=c++11 which is required
> for Qt

I rather much doubt that this particular setting is required.  Nor is 
there much mystery about this: std=c++11 is an option that explicitly 
requires the compiler to disable _all_ extensions beyond ISO standard 
C++.  popen is part of the POSIX extensions, so it will be disabled.

> BUT
> at the same time the MinGW compiler installed from Cygwin repository
> does expose popen with same standard flag.

That might be a bug in MinGW, but more likely you overlooked another 
flag that re-enabled some extensions.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019