Why does Clang Make This Warning? #932
Unanswered
SsageParuders
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I think you added |
Beta Was this translation helpful? Give feedback.
1 reply
-
That may come from any library / object file that you link against. Like this one from GCC:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use
mold
for my project with clang.But clang-15 make a warning like this:
clang-15: warning: argument unused during compilation: '-fuse-ld=mold' [-Wunused-command-line-argument]
And this is the result of
readelf -p comment
:It looks like I had succeed to use
mold
.Should I ignore this warning?Btw, I use clang for my project, but why the section of
.comment
had the info about GCC?Thinks a lot ~
Beta Was this translation helpful? Give feedback.
All reactions