[CDRIVER-2700] Can we remove -Wno-deprecated-declarations on Apple? Created: 15/Jun/18  Updated: 11/Sep/19  Resolved: 06/Sep/18

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

Type: Task Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-2722 Reimplement macOS TLS layer in terms ... Backlog
is related to CDRIVER-520 Add support for native TLS on OSX (Se... Closed

 Description   

We turn off deprecation warnings for Apple here:

if (APPLE)
   # Until CDRIVER-520.
   add_definitions (-Wno-deprecated-declarations)
endif ()

This references a now closed ticket. Removing it still seems to fail if building with secure transport. If nothing else, let's update the comment to reference an open ticket so we remember to remove it.



 Comments   
Comment by Kevin Albertson [ 06/Sep/18 ]

No, we can't remove the no-deprecated flag until CDRIVER-2722 is done.

Comment by A. Jesse Jiryu Davis [ 21/Jun/18 ]

See if can, in fact, compile deprecation warning-free with Native TLS on Mac. If not, update the comment to explain why.

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