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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to