[CDRIVER-796] Fix c++ compiler warnings Created: 11/Aug/15  Updated: 03/May/17  Resolved: 18/Aug/16

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: TBD

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Backlog - C Driver Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-780 Test compiling in C++ mode in Evergreen Closed
is related to CDRIVER-366 allow mongo-c-driver to be compiled i... Closed

 Description   

The mongoc driver currently compiles using a c++ compiler, but there are plenty warnings for:

-Wsign-compare
-Waddress (unspecified behaviour)
-Wwrite-strings
Couple of -Wpointer-arith
And couple of -Wnarrowing



 Comments   
Comment by Hannes Magnusson [ 18/Aug/16 ]

These warnings are ok.
Until this actually becomes an issue for for example the C++11 or HHVM drivers, use a c compiler to compile a c project

Generated at Wed Feb 07 21:10:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.