turn off -Wlogical-not-parentheses and -Wdeprecated-register warnings