These twowarnings could be firectly enabled, as produces no issues on current master: - disabled-optimization Warn if a requested optimization pass is disabled. - pointer-arith Warn about anything that depends on the "size of" a function type or of "void".