[CXX-1312] Eliminate warnings generated by compiler Created: 12/Apr/17  Updated: 11/Aug/17  Resolved: 15/Jun/17

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Samuel Rossi (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-1365 Wrap internal usage of libbson/libmon... Closed

 Description   

When compiling the driver with the flags `-Wall -Wextra -Wconversion -Wnarrowing -pedantic`, a number of warnings occur, which should be fixed. The warning types and counts are as follows:

85 implicit conversion loses integer precision
85 implicit conversion changes signedness



 Comments   
Comment by Githook User [ 15/Jun/17 ]

Author:

{u'username': u'iwysiu', u'name': u'Isabella Siu', u'email': u'sakurablossom@blueblueworld.com'}

Message: CXX-1312 Eliminate warnings generated by compiler
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/e80123fb807c0608c62a71bf482b12e0e9ed48bc

Comment by Githook User [ 15/Jun/17 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-1312 Disable warnings in md5 library
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/002acde221b8faaab519396be78039891ad4c73e

Comment by Githook User [ 15/Jun/17 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-1312 Add missing copyright header and include pragma
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/06ba6b7eee7985661253e6b4d50b34a0f19f3cd4

Comment by Githook User [ 15/Jun/17 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-1312 add more warnings flags to evergreen config on *nix
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/d7d2eac2eb7298284f3082cff325adc193e0f08a

Generated at Wed Feb 07 22:02:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.