-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[TRIVIAL] Fix NuDB build error #5061
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5061 +/- ##
=========================================
- Coverage 71.4% 71.4% -0.0%
=========================================
Files 796 796
Lines 67039 67039
Branches 10865 10867 +2
=========================================
- Hits 47841 47833 -8
- Misses 19198 19206 +8 |
This reverts commit 37a959f.
Rewrote this to patch the source via Conan. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to add an instruction to BUILD.md
explaining how to export the right version of nudb
from external/nudb
?
* Add instructions to BUILD.md to export correct NuDB version * Also add instructions to BUILD.md to enable recipe revisions, which will cause NuDB to build if necessary
* upstream/develop: Add xrpld build option and Conan package test (5052)
Co-authored-by: John Freeman <[email protected]>
* upstream/develop: Update BUILD.md after PR 5052 (5067)
* upstream/develop: chore: Add comments to SignerEntries.h (5059) chore: Rename two files from Directory* to Dir*: (5058)
* Includes updated instructions in BUILD.md.
High Level Overview of Change
Fix a build error that seems to be limited to non-unity builds on Windows (Visual Studio) due to a missing
#include
in NuDB.Context of Change
I think the reordering of
#includes
in the physical redesign PR (#4997) removed a silent dependency from one of the headers in NuDB. The dependency version of NuDB didn't change, as far as I can tell. CI didn't catch the issue because the Windows build uses unity to save time.The error is:
std::logic_error
requires<stdexcept>
, butnudb/detail/stream.hpp
does not include it.My assumption is some other header that had previously been ordered before
stream.hpp
and included<stdexcept>
is now ordered afterstream.hpp
. I don't think it's worth figuring out which file it is, because it's obviously a problem with NuDB.Type of Change
Future Tasks
See also: cppalliance/NuDB#100