Re: Compilation Error on F32

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

 



On Mon, 2020-03-30 at 20:55 +0200, Jakub Jelinek wrote:
> So, from the offlist posted preprocessed source, seems the TU
> includes the
> following libstdc++ headers
> #include <string>
> #include <vector>
> #include <memory>
> #include <list>
> #include <map>
> #include <set>
> #include <functional>
> and then uses std::runtime_exception.  That one is defined in
> <stdexcept>
> header though, and is not included.  Before
> https://gcc.gnu.org/legacy-ml/libstdc++/2019-06/msg00032.html
> change it has been included as implementation detail from headers
> included
> in <memory>, <map> or <functional> from the above list.
> So, you just need to make sure <stdexcept> is also included if you
> need
> classes from it.
> 

Thank you for looking into this for me. Just to be clear, the proper
place to fix this is in the php-cpp project because it is using
std::runtime_exception without including <stdexcept>. Is that correct?

Sincerely,
-- 
Nathanael
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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