[CXX-2458] Avoid warnings when compiling with -Wfloat-equal Created: 25/Feb/22 Updated: 28/Oct/23 Resolved: 03/Mar/22 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
See https://github.com/mongodb/mongo-cxx-driver/pull/842 for the proposed change. |
| Comments |
| Comment by Githook User [ 03/Mar/22 ] |
|
Author: {'name': 'Ole Henrik Dahle', 'email': 'ole@dahle.no', 'username': 'oledahle'}Message: Added pragma statements to suppress -Wfloat-equal flag for this file, since double equality comparison is on purpose. Co-authored-by: Ole Henrik Dahle <ole.henrik.dahle@indra.no> |