This is the mail archive of the
mailing list for the GCC project.
Re: Deprecating basic asm in a function - What now?
- From: Jason Merrill <jason at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, David Wohlferd <dw at limegreensocks dot com>, Jeff Law <law at redhat dot com>, Andrew Haley <aph at redhat dot com>, Michael Matz <matz at suse dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 5 Jul 2016 14:13:12 -0400
- Subject: Re: Deprecating basic asm in a function - What now?
- Authentication-results: sourceware.org; auth=none
- References: <dc3ca16c-3521-757f-fcf0-50061f510f75@LimeGreenSocks.com> <alpine.LSU.firstname.lastname@example.org> <57682A85.email@example.com> <alpine.LSU.firstname.lastname@example.org> <email@example.com> <alpine.LSU.firstname.lastname@example.org> <57696C45.email@example.com> <firstname.lastname@example.org> <1de3322f-a2aa-ce65-2404-2f6fd7974695@LimeGreenSocks.com> <CAH6eHdRxuYdq2PacvEWs5SS4yODuSwbLwfoaz3aOOKNqxMRXrw@mail.gmail.com> <email@example.com>
On Mon, Jul 4, 2016 at 12:09 PM, Frank Ch. Eigler <firstname.lastname@example.org> wrote:
> jwakely.gcc wrote:
>> [...] (When we switched Fedora to using GCC 6, with C++14 enabled by
>> default, dozens and dozens of C++ packages failed to compile,
>> because even in 2016 nobody had ever tried to compile them with
>> C++11 features enabled.)
> And one shouldn't blame those that choose to stick with CXXFLAGS=-std=c++98
> instead of porting their code, which after all is working & stable.
Absolutely, that's a fine solution. Though often it makes sense to
put the -std argument in the CXX variable rather than CXXFLAGS.