Closed sergrak closed 1 year ago
Bond builds with -Wall
. -Wfloat-equal
is not in -Wall
.
Please build Bond-generated code with -Wall
and without -Wfloat-equal
. Consider using -isystem
to add the generated Bond code to you header search path so that warnings in your code that uses Bond. This should let you continue to use -Wfloat-eqaul
in your own code.
The Bond project itself isn't interested in being 100% warning clean for every warning that every compiler can emit. So, we at Microsoft have no plans to change the generated code to handle -Wfloat-equal
.
I believe this has been addressed. Closing this issue.
When using double/float inside structures it's generating bad comparison (operator==) code which triggers gcc warnings
Run as following: