Closed MAJigsaw77 closed 2 weeks ago
Added -Wno-unused-command-line-argument to MacOS toolchain to remove warnings related to unused commands, for example clang: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument].
It would be better to solve the root cause of this warning, which is that -stdlib=libstdc++
should not be passed in when compiling regular C files. It is possible to use cppflag and mmflag tags, e.g.:
@tobil4sk is it fine now?
@MAJigsaw77 Thanks, the mac-toolchain.xml changes look good to me now
@tobil4sk Are the changes from iOS
and tvOS
toolchains fine as well?
@tobil4sk Are the changes from
iOS
andtvOS
toolchains fine as well?
Tested them, they work flawlessly
@tobil4sk Are the changes from iOS and tvOS toolchains fine as well?
Thanks, they look good to me too
sprintf
withsnprintf
becausesprintf
is deprecated.-Wno-unused-command-line-argument
to MacOS toolchain to remove warnings related to unused commands, for exampleclang: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
.