[CDRIVER-335] Add support for Sun C Compiler (Solaris 10+) Created: 09/Apr/14  Updated: 03/May/17  Resolved: 09/Apr/14

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

Type: Bug Priority: Major - P3
Reporter: Christian Hergert Assignee: Christian Hergert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be nice if Sun's C Compiler (check with __SUNPRO_C) was supported for libbson and mongo-c-driver. This will allow us to compile in more situations where gcc is not, or cannot be installed.



 Comments   
Comment by Christian Hergert [ 09/Apr/14 ]

mongo-c-driver as of https://github.com/mongodb/mongo-c-driver/commit/447ac43e3dcacd5336bcd3c2384e8824a0ab1f1e compiles on Sun C compiler 5.7+.

Resolving as Fixed.

Comment by Christian Hergert [ 09/Apr/14 ]

I've just added support in libbson for __SUNPRO_C as of https://github.com/mongodb/libbson/commit/265038d55b43406c5319f2ef76c8a3f2078c5e8a.

I'll investigate mongo-c-driver and see how much effort is required there.

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