Skip to content
This repository was archived by the owner on Jun 19, 2019. It is now read-only.
This repository was archived by the owner on Jun 19, 2019. It is now read-only.

SpiderNode assumes libstdc++ on Mac; fails on "'tr1/type_traits' file not found" with libc++ #166

@mykmelez

Description

@mykmelez

SpiderNode assumes libstdc++ on Mac, where it includes the <tr1/type_traits> header, which is only available in libstdc++:

spidernode/src/util.h

Lines 13 to 17 in f9cd4f6

#ifdef __APPLE__
#include <tr1/type_traits>
#else
#include <type_traits> // std::remove_reference
#endif

But Electron builds with libc++:

https://github.com/electron/electron/blob/master/toolchain.gypi#L115-L116

So when I configure Electron to build SpiderNode, the build fails with "'tr1/type_traits' file not found."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions