[CDRIVER-4158] Atomics API change breaks C++ driver 3.6 Created: 15/Sep/21  Updated: 27/Oct/23  Resolved: 15/Sep/21

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

Type: Bug Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Colby Pike
Resolution: Gone away Votes: 0
Labels: failing-on-waterfall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-4159 Test compiling headers with a C++ com... Closed

 Description   

The recent Atomics change (CDRIVER-4124, commit a0cd4f845) broke the C++ driver 3.6 build.



 Comments   
Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CDRIVER-4158 make CXX enablement optional
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/25496ec9c57fcd538103bb13ae7b98ec464cfb53

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: CDRIVER-4158: Fix bson-atomic.h for compatibility with C++ (#869)

Fixes CDRIVER-4158. There was some implicit cross-casting going on in the headers that is not valid C++ code.

This also adds a C++ utility target that is only compiled to check that the public headers are valid C++ code.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0456d9a1d8abab52c9193678e7974869edf6b7f4

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