C1XX -Fi



This option is not recognised on the CL command line, but can be passed to C1XX through the CL /d1 option, giving Fifilename as its argument.


This option directs C1XX to open the named file as standard output. It then becomes the file that receives preprocessor output, as generated in response to the /E, /EP or /P options.

Indeed, the /P option, which arranges that preprocessor output goes to a file, works by CL creating a -Fi option for C1XX. The filename then has the same name as the source file but with the extension forced to “.i”. This constraint on the name of the output file is undone by placing a C1XX -Fi option after the CL /P option.

The named file is opened for read-write access in text mode. Failure is a fatal error (C1083).