[CDRIVER-974] -Wno-deprecated-declarations not support on all compilers Created: 29/Oct/15  Updated: 18/Nov/15  Resolved: 30/Oct/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.2.0
Fix Version/s: 1.3.0-beta0

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

Issue Links:
Related
related to CDRIVER-975 libbson fails while linking on AIX / xlC Closed
is related to CDRIVER-520 Add support for native TLS on OSX (Se... Closed

 Description   

It appears that xlc doesn't support -Wno-deprecated-declarations failing with unknown argument errors.

We only need this flag on OSX, to suppress the OpenSSL deprecation spam.



 Comments   
Comment by Githook User [ 30/Oct/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-974: Only use -Wno-deprecated-declarations on OSX

Also – Not all compilers support this flag
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/58eb6936755638208db9a5fda8c075064ed87205

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