We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://godbolt.org/z/T43nexEdr
Without -lm , ld will not link and it will complain about not finding sqrt ...
-lm
ld
sqrt
I seem to remember I solved this one a few months ago?
ps: If someone wishes me to be exact: using -std=c17 -pedantic, UBENCH will not compile on Godbolt.
-std=c17 -pedantic
Issue is POSIX time "shenanigans", and asm becoming an "undeclared identifier"; all a lot of "fun".
asm
-std=gnu17 or lower makes UBENCH compile.
-std=gnu17
Thus it is apparently enough to use: -lm, for UBENCH to compile, as -std=gnu17 is the current default for GCC (and clang).
The text was updated successfully, but these errors were encountered:
No response from the author or anyone else ...
Sorry, something went wrong.
No branches or pull requests
https://godbolt.org/z/T43nexEdr
Without
-lm
,ld
will not link and it will complain about not findingsqrt
...I seem to remember I solved this one a few months ago?
ps: If someone wishes me to be exact: using
-std=c17 -pedantic
, UBENCH will not compile on Godbolt.Issue is POSIX time "shenanigans", and
asm
becoming an "undeclared identifier"; all a lot of "fun".-std=gnu17
or lower makes UBENCH compile.Thus it is apparently enough to use:
-lm
, for UBENCH to compile, as-std=gnu17
is the current default for GCC (and clang).The text was updated successfully, but these errors were encountered: