octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc7 build error with recent tip


From: Daniel J Sebald
Subject: Re: gcc7 build error with recent tip
Date: Mon, 26 Jun 2017 11:11:38 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 06/26/2017 07:49 AM, Dmitri A. Sergatskov wrote:


On Sat, Jun 24, 2017 at 2:58 PM, John W. Eaton <address@hidden
<mailto:address@hidden>> wrote:


    I checked in the following changeset and the problem seems to be
    fixed for both GCC 6 and 7:

      http://hg.savannah.gnu.org/hgweb/octave/rev/93371ce5378d
    <http://hg.savannah.gnu.org/hgweb/octave/rev/93371ce5378d>

    Now I'm not sure whether this is a bug in GCC 7 or if it was a bug
    in previous versions to accept the template without the "A..." argument.


​Jakub Jelinek has some suggestions (see comment #10)
​
https://bugzilla.redhat.com/show_bug.cgi?id=1464612

J.W. in comment 11 makes a suggestion sort of along the lines of the typedef-strategy, i.e., defining smaller templates to use within the broader template:

https://bugzilla.redhat.com/show_bug.cgi?id=1464612#c11

Templates are open for creativity, for sure.

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]