As that message is just a WARNING why it stops compilation? Maybe you just have to disable VC22 “stop on warning” somehow?