I use bazel as my build system, and bazel specializes in reproducible builds, which basically means it tries to build everything in a sandbox with limited access to system libraries, and replaces the various date macros with some string like REDACTED . This breaks the time_conversion_helper and asserts(false) at runtime.
not sure what the best solution is, but it would be great if there was a macro that made the time-based macros optional.
My solution is to fork boost and comment out the assertion (
|
BOOST_ASSERT(0 != compile_time); |
).
I use bazel as my build system, and bazel specializes in reproducible builds, which basically means it tries to build everything in a sandbox with limited access to system libraries, and replaces the various date macros with some string like REDACTED . This breaks the time_conversion_helper and asserts(false) at runtime.
not sure what the best solution is, but it would be great if there was a macro that made the time-based macros optional.
My solution is to fork boost and comment out the assertion (
wave/include/boost/wave/util/time_conversion_helper.hpp
Line 127 in 99ccc6e