Clang doesn't like deprecated ptr_fun in macOS

Description

It seems like when building this driver library under macOS, the clang comes with Xcode 11 doesn't like that this lib is using deprecated ptr_fun and no proper warning ignore flag is given

Environment

Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Xcode 11
maxOS 10.14.6 (18G103)
cmake version 3.14.5

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Fang-Pen Lin

Labels

None

PM Priority

None

Reproduced in

2.14.0

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

Michael Penick

Size

None

Priority

Major
Configure