[CDRIVER-3632] Fix unresolved pedantic warnings Created: 22/Apr/20 Updated: 28/Oct/23 Resolved: 19/Aug/21 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.20.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Roberto Sanchez | Assignee: | Ezra Chung |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
C driver commit d6984c8331a2bcd2ff0d2850b222d00c20f6a079 fixed almost all of the GCC pedantic warnings in the code base (c.f., The following code block exists in several files in the code base:
These are the files:
In order to properly fix this, the above referenced code block needs to be removed from those files and the code built with the options -pedantic -Wall -Werror. Note that -pedantic and -Wall are defaults when maintainer flags are enabled. However, -Werror is not standard. |
| Comments |
| Comment by Githook User [ 19/Aug/21 ] |
|
Author: {'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}Message: Conversion between object pointers and function pointers is undefined This commit defines a new TestSuite_AddFullWithTestFn macro as a |
| Comment by Jeremy Mikola [ 16/Jun/21 ] |
|
I believe I just encountered this while working on |