Skip to content

bench: fix conflicts with symbol random on osx#9

Open
belm0 wants to merge 1 commit into
abolz:masterfrom
belm0:bench_random
Open

bench: fix conflicts with symbol random on osx#9
belm0 wants to merge 1 commit into
abolz:masterfrom
belm0:bench_random

Conversation

@belm0

@belm0 belm0 commented Oct 10, 2022

Copy link
Copy Markdown

Fixes #8

Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Drachennest/bench/bench_strtod.cc:144:22: error: redefinition of
      'random' as different kind of symbol
static JenkinsRandom random;
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:228:7: note:
      previous definition is here
long     random(void) __swift_unavailable("Use arc4random instead.");
         ^

Drachennest/bench/bench_strtod.cc:144:22: error: redefinition of
      'random' as different kind of symbol
static JenkinsRandom random;
                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/include/stdlib.h:228:7: note:
      previous definition is here
long     random(void) __swift_unavailable("Use arc4random instead.");
         ^
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

Successfully merging this pull request may close these issues.

Issues compiling

1 participant