add -fpermissive flag for nonconforming pointer conversion