Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Fix for clang warning: libstdc++ is deprecated #31

Closed
wants to merge 2 commits into from
Closed

Fix for clang warning: libstdc++ is deprecated #31

wants to merge 2 commits into from

Conversation

rnchamberlain
Copy link
Contributor

When installing the nodereport module on macOS 10.12 (Sierra), the clang deprecation warning above is output during npm install. The fix is to override the std c++ library inherited from node, so that the module is linked to libc++

Uses known solution described here: nodejs/nan#606

Fixes #22

When installing on macOS 10.12 (Sierra), the deprecation warning
above is output. The fix is to override the std c++ library so
that the module is linked to libc++
@richardlau richardlau mentioned this pull request Dec 13, 2016
@gibfahn
Copy link
Member

gibfahn commented Dec 13, 2016

Seems to fix #32

Copy link
Member

@gibfahn gibfahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me on macOS Sierra

rnchamberlain added a commit that referenced this pull request Dec 16, 2016
When installing on macOS 10.12 (Sierra), the deprecation warning
above is output. The fix is to override the std c++ library so
that the module is linked to libc++

PR-URL: #31
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gib@uk.ibm.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
@rnchamberlain
Copy link
Contributor Author

Landed as 67050f5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clang warning when using MacOS Sierra
4 participants