From 935da51769ad40732879780214c1ac674b37f621 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Wed, 9 Dec 2020 10:15:38 +0000 Subject: [PATCH 1/2] Add missing include for ostringstream Since region.hpp no longer includes (but only ), source_location.hpp no longer includes a header that provides std::ostringstream. Including fixes this. --- toml/source_location.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toml/source_location.hpp b/toml/source_location.hpp index a386710..fa175b5 100644 --- a/toml/source_location.hpp +++ b/toml/source_location.hpp @@ -3,6 +3,7 @@ #ifndef TOML11_SOURCE_LOCATION_HPP #define TOML11_SOURCE_LOCATION_HPP #include +#include #include "region.hpp" From db2d33ca4be2315549a6b46c17617629180b1723 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Wed, 9 Dec 2020 10:39:10 +0000 Subject: [PATCH 2/2] Add missing header for std::out_of_range exception Failure seen on GCC 4.8.5 when including "toml/value.hpp". --- toml/comments.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/toml/comments.hpp b/toml/comments.hpp index 1e17544..92fc8e1 100644 --- a/toml/comments.hpp +++ b/toml/comments.hpp @@ -4,6 +4,7 @@ #define TOML11_COMMENTS_HPP #include #include +#include #include #include #include