Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Compile Error #110

Open
zhmrab opened this issue Apr 3, 2018 · 4 comments
Open

MacOS Compile Error #110

zhmrab opened this issue Apr 3, 2018 · 4 comments

Comments

@zhmrab
Copy link

zhmrab commented Apr 3, 2018

Some issues with code mainly regarding MacOS

/src/crypto/slow-hash.cpp:70:7: error: '~cn_context' has a non-throwing exception specification but can still throw [-Werror,-Wexceptions]
      throw bad_alloc();
      ^
/Users/zhmrab/fork/src/crypto/slow-hash.cpp:68:15: note: destructor has a implicit non-throwing exception specification
  cn_context::~cn_context() {
              ^
1 error generated.
make[3]: *** [src/CMakeFiles/Crypto.dir/crypto/slow-hash.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....

@pmitchev
Copy link

pmitchev commented Apr 8, 2018

Got the same error after updating to 10.13.4

@zhmrab
Copy link
Author

zhmrab commented Apr 10, 2018

Ok, 10.13.3 for me,

@pmitchev Also wanted to ask you about recurring errors when compiling in MacOS,

I'm sure you are aware of them :

src/Platform/OSX/Context.c (c or C)
src/Platform/OSX/Context.h (void)
src/CryptoNoteCore/SwappedMap.h ("no member named cout")

Should I raise an issue for that with all the details?

@Remco75
Copy link

Remco75 commented May 2, 2018

Same issue here after updating . Any known fix yet?

@Remco75
Copy link

Remco75 commented May 2, 2018

This also happens in cryptonote repo. Seems to be related to update to C++ or xcode.

filed an issue there as well:
cryptonotefoundation#253

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

No branches or pull requests

3 participants