Closed jwinterm closed 6 years ago
GCC-7 doesn't like it when comparing string literal with something that might not be and throws Werror.
I got it to work by running:
sed -e 's/CRYPTONOTE_NAME == \\"monero\\"/strcmp(CRYPTONOTE_NAME, \\"monero\\" == 0)/ig' extensions/core/monero.json -i
GCC-7 doesn't like it when comparing string literal with something that might not be and throws Werror.