[CDRIVER-2138] Libbson bson-decimal.c should not include stdint.h directly Created: 21/Apr/17  Updated: 28/Oct/23  Resolved: 24/Apr/17

Status: Closed
Project: C Driver
Component/s: libbson
Affects Version/s: 1.6.2
Fix Version/s: 1.7.0

Type: Bug Priority: Major - P3
Reporter: Shane Harvey Assignee: Shane Harvey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

bson-decimal128.c should not be including stdint.h directly. Directly including stdint.h is less portable than relying on bson-compat.h which bson-decimal128.c already includes.

This is causing python-bsonjs builds to fail on old versions of Visual Studio that don't provide stdint.h.



 Comments   
Comment by Githook User [ 22/Apr/17 ]

Author:

{'name': 'Shane Harvey', 'username': 'ShaneHarvey', 'email': 'shane.harvey@mongodb.com'}

Message: CDRIVER-2138 Remove non-portable stdint.h include.
Branch: master
https://github.com/mongodb/libbson/commit/6b040d39dba02a9cca800f9b53c6d908a4ca358c

Comment by Shane Harvey [ 21/Apr/17 ]

Pull request: https://github.com/mongodb/libbson/pull/190

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