[SERVER-81513] Include llvm standard headers while compiling with clang Created: 27/Sep/23  Updated: 29/Oct/23  Resolved: 29/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Currently the mongodb toolchain is referencing gcc headers for both gcc and clang. This causes issues with certain headers (ex. <atomic>) when building in clang.

Include llvm headers instead of gcc headers when compiling with clang.



 Comments   
Comment by Githook User [ 30/Sep/23 ]

Author:

{'name': 'Zack Winter', 'email': 'zack.winter@mongodb.com', 'username': 'zackwintermdb'}

Message: SERVER-81513 Include llvm standard headers while compiling with clang
Branch: master
https://github.com/mongodb/mongo/commit/5cccc63ff6095c9267704d573af906dd9a8e5d44

Generated at Thu Feb 08 06:46:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.