Re: GCC 6: template argument deduction/substitution failed

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

 



On 02/14/2016 12:59 PM, Michael Schwendt wrote:
> Is there any helpful list of major changes in GCC 6, which may give a hint
> about what C++ gotchas that used to build with GCC 5 may not be valid anymore?

I think this case might be a missing #include <iterator>.

> jack-ng.cc:259:42: error: no matching function for call to 'end(jack_port_t* [10])'
>      std::fill (m_ports, std::end (m_ports), nullptr);
>                                           ^

If the compiler can't find a function, it's useful to check where it is
declared, and that happens to be <iterator> (according to
cppreference.com, I didn't check the standard).

Florian
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux