sml
sml copied to clipboard
Clang `-Wextra-semi` warning with `-DBOOST_SML_CFG_DISABLE_MIN_SIZE`
Expected Behavior
Example code compiles without any warnings.
Actual Behavior
Undefined behavior sanitizer reports errors for optimized builds with Clang. After applying this workaround, the hello world example produces -Wextra-semi warning with Clang 14+.
Steps to Reproduce the Problem
System specs
Compiler: Clang 14, 15, 16.
I was going to contribute a fix, but, unfortunately, it turns out that the master branch fails to pass the steps described in contributing guidelines (make, make test, make check, etc.) 😞.