-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime_error is not a member of std #17
Comments
Also just got a compile error in the test code (not with CMake, but with autoconf, so not sure whether this file is included in the CMake tests?) diff --git a/tests/helpers/temporary_file.hpp b/tests/helpers/temporary_file.hpp
index 481a7f9..110b978 100644
--- a/tests/helpers/temporary_file.hpp
+++ b/tests/helpers/temporary_file.hpp
@@ -4,7 +4,7 @@
#include <cstdio>
#include <string>
-#include <detail/include_windows.hpp>
+#include <xlnt/detail/include_windows.hpp>
#include "path_helper.hpp" |
Not sure how those slipped by me. I'll update them this evening. Also, thanks for giving it a try. Always nice to hear that someone is using the library. |
The missing include in manifest.cpp has been added in a2919df. For the second one, instead of changing tests/helpers/temporary_file.hpp, you can also add /source as an include directory when configuring with autoconf so it can find the source/detail headers. My using source as an include directory is somewhat unusual so I might move those headers eventually. |
Thanks for the explanation! I figure tests are a bit unusual anyway in that they need more access to the code than you might make available through the public API, so having the source directory as an include path is probably not that unusual! (In my own code I do things like |
Hi - just trying out the latest git version, and I get these errors when compiling now:
Which I fixed by doing this:
The text was updated successfully, but these errors were encountered: