delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/06/05:18:41

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
q=dns; s=default; b=D6jhGhx0cVvbOUX5fZFIBS1MTF6fAzCPciJdCFBy1oh
pesf2T5rAvLtS4pR8Fn/6phyUeKcJewNDCIAAQPf7A+kHgmIKtHqS0SQ4vqTF2QA
Rfjilm5APvnrDdHlYaDj2q0ycGdR4LF2Lg4zRvaxJw4x6AJtQK8qdJseBQ42iivo
=
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=CDAll/dcXlgC7vNjP/n4XZ7LMOI=; b=pkeJPZ1RuB9C2yP+P
zl/HiWtm2d6agbV2bqRnbOcmKe3DzHr7fyDjJJLwpsYiLUfmPgYbXY0cATSeKQD/
bxFJeYf2XuzHYngacFrwaKl7G5ECd3A98uq5xs28OD43ysh2rgZKvEk9/cdFiZpK
xmlfbyq/iqWaNefZpfzExae5Eo=
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-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Effective, Scott, 6.0.0, Hx-languages-length:811
X-HELO: mail-qt0-f178.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=ZY4Zg7/ujLEbcZJWmXkmKj7Oh9VTBPDhrx3Ron1dY0U=; b=VMDJGS13/wOsz356gyQFOPBh6hpCNV1H3aCKhrSQwNyWyVq5qCwEgJx646luSko2B4 XMsJCdfnpw5XzsGacf15t7aOdN7zj0Bt/IS9i+/8cZBcni9DGhRRI0cUU8Ii3q4KnVzU ITY2zjwwQCBRwGuHuo/jYMhOTjnv86/iZfqrZnKb4M64+oy8vGUNDfJtF/rolrCzbaEN Rvu4eIxZiPqTO5IJ/7upvv/+8z1Jvd1EnbuvoH9ac2puyaEGC0TUR1q3c6wD25rgIaFy 0ZDDdYdpXImh9HypIaocjvK67IT16oob3z+CRW6JpwNiCXJi5NiwYxzQJrheEXX43V5A IvRQ==
MIME-Version: 1.0
In-Reply-To: <CAJn6YFDfNZdr=r+MbNQcRsPyEf8K0-=SXN13Qt5p-m9t=u24Bw@mail.gmail.com>
References: <CAJn6YFD-zJoH4wtDaRq1EYYLwzWv_EYFWLGm+quj_RobFMv2Dg AT mail DOT gmail DOT com> <55fcf4b3-5fd0-8fa1-6669-5a93a14c863e AT t-online DOT de> <CAJn6YFD+RjY60kDZU7pQP7BHpdxCDGGwg+2yeOM7=XKVER_C1Q AT mail DOT gmail DOT com> <258a1db5-4151-33c7-5db6-2a06f82975c5 AT SystematicSw DOT ab DOT ca> <CAJn6YFDfNZdr=r+MbNQcRsPyEf8K0-=SXN13Qt5p-m9t=u24Bw AT mail DOT gmail DOT com>
From: Csaba Raduly <rcsaba AT gmail DOT com>
Date: Thu, 6 Sep 2018 11:17:02 +0200
Message-ID: <CAEhDDbBXkc-8t3qZ5fK0O6=FZ4kwFJ-SHbUs9wC5hBYENAyKMQ@mail.gmail.com>
Subject: Re: Why does -std=c++11 hide certain function calls
To: cygwin list <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w869Ield029951

Hi John,

On Thu, Sep 6, 2018 at 8:45 AM, John Selbie  wrote:
> Ahhhh…. that was my mistake.  I had erroneously assumed that not specifying
> -std would result in the oldest version of C++.

This depends on the compiler. For a long time, the default C++ dialect
used by both GCC and clang was C++98.
Since GCC 6.0 and clang 6.0.0, the default C++ dialect is now C++14

https://gcc.gnu.org/gcc-6/changes.html
https://isocpp.org/blog/2018/03/clang-6.0.0-released


Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformat way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)

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