We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/real-logic/simple-binary-encoding/blob/master/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java#L1055 says that "cmath needed for quiet_NaN". This is incorrect. std::numeric_limits is defined in <limits>, not <cmath>. This happens to work as long as cmath happens to include limits, but will break if Standard C+ Library headers are reorganized.
std::numeric_limits
<limits>
<cmath>
cmath
limits
The text was updated successfully, but these errors were encountered:
[C++] Rely on NAN from limits rather than pulling in cmath. Issue #956.
0a05d9a
No branches or pull requests
https://github.com/real-logic/simple-binary-encoding/blob/master/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java#L1055 says that "cmath needed for quiet_NaN". This is incorrect.
std::numeric_limits
is defined in<limits>
, not<cmath>
. This happens to work as long ascmath
happens to includelimits
, but will break if Standard C+ Library headers are reorganized.The text was updated successfully, but these errors were encountered: