mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Switch to updated date library exception handling:
Without defining `HAS_UNCAUGHT_EXCEPTIONS` the date library would use the deprecated `uncaught_exception` which would generate a warning.
This commit is contained in:
@@ -125,6 +125,10 @@ target_include_directories (xrpl_core
|
|||||||
# this one is for beast/legacy files:
|
# this one is for beast/legacy files:
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/beast/extras>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/beast/extras>
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
|
|
||||||
|
target_compile_definitions(xrpl_core
|
||||||
|
PUBLIC
|
||||||
|
HAS_UNCAUGHT_EXCEPTIONS=1)
|
||||||
target_compile_options (xrpl_core
|
target_compile_options (xrpl_core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
$<$<BOOL:${is_gcc}>:-Wno-maybe-uninitialized>)
|
$<$<BOOL:${is_gcc}>:-Wno-maybe-uninitialized>)
|
||||||
|
|||||||
Reference in New Issue
Block a user