ML Fatal Error A1022

command-line option requires /omf

A1022 will occur when you compile with /FPi and /coff. x87 emulation is not supported with /coff. Since /coff is on by default, using /FPi without /omf will cause A1022.

For information on MASM compiler options, see ML and ML64 Command-Line Reference.