rippled
rippled copied to clipboard
Work around soci build issues
High Level Overview of Change
Soci's CMake setup leaves flags in place that will cause warnings to be treated as errors, but some compiler versions throw "new" warnings that then cause the build to fail. Simplify that until soci fixes those warnings.
Note that this PR will probably become obsolete if / when #4223 is merged.
Context of Change
This only affects the build process for the soci dependency.
Type of Change
- [X ] Bug fix (non-breaking change which fixes an issue)
Before / After
Before this change, the soci cmake file would need to be patched manually before being able to successfully build with an affected compiler (clang 14, maybe others). After, the build should proceed seamlessly.
Requesting a review from @seelabs, who I can't assign, because he came up with the original patch.