Reproducible builds ruin time_conversion_helper
- Dominant language
- C++
- Stars
- 29
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
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 (https://github.com/boostorg/wave/blob/99ccc6e3cbd3fa347dc23f10518aa7d33d31573e/include/boost/wave/util/time_conversion_helper.hpp#L127).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.