You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to compile latest potion with clang and ccache produces this message:
CC core/potion.opic
clang: error: argument unused during compilation: '-I core'
It's because ccache is not yet fully clang-compatible, and it produces this warning, and you've requested by specifying -Werror in config.mak that all warnings be turned into errors.
In MacPorts we run into this kind of problem a lot, and recommend that you don't ship build systems that use -Werror, because you never know what kinds of new warnings will appear in compilers in the future.
The text was updated successfully, but these errors were encountered:
If ccache doesn't accept -I core does it compile at all?
It does but throws a lot of new warnings: -Warray-bounds -Wtautological-compare -Wparentheses-equality besides the 2 unused arguments ccache warnings. I'll have to check why.
I'll remove -Werror for the upcoming 0.1 release version but for the development cycle I'm fine with it.
Trying to compile latest potion with clang and ccache produces this message:
It's because ccache is not yet fully clang-compatible, and it produces this warning, and you've requested by specifying
-Werror
in config.mak that all warnings be turned into errors.In MacPorts we run into this kind of problem a lot, and recommend that you don't ship build systems that use
-Werror
, because you never know what kinds of new warnings will appear in compilers in the future.The text was updated successfully, but these errors were encountered: