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

macos make failed #314

Open
KnoooW opened this issue Apr 9, 2020 · 3 comments
Open

macos make failed #314

KnoooW opened this issue Apr 9, 2020 · 3 comments

Comments

@KnoooW
Copy link

KnoooW commented Apr 9, 2020

In file included from ../Libraries/acdriver/Sources/Compile/Output.cpp:13:
In file included from ../Libraries/xcassets/Headers/xcassets/Asset/Asset.h:15:
../Libraries/libutil/Headers/libutil/Base.h:24:32: error: 'ptr_fun<int, int>' is deprecated [-Werror,-Wdeprecated-declarations]
std::not1(std::ptr_fun<int, int>(::isspace))));
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:1097:1: note: 'ptr_fun<int, int>' has been explicitly marked deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:1101:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^

@KnoooW
Copy link
Author

KnoooW commented Apr 9, 2020

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

add in cmakelist solved!

@CblPOB
Copy link

CblPOB commented Apr 15, 2020

@KnoooW Hi, where its need to be added?

@alexandre-janniaux
Copy link

alexandre-janniaux commented Apr 15, 2020

To be able to build, removing -Werror from CMakeList.txt is probably the easiest.

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

No branches or pull requests

3 participants