Skip to content

Commit 941495c

Browse files
author
Colin Robertson
committed
Updated modules section per developer review
1 parent f422ef2 commit 941495c

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/how-to-report-a-problem-with-the-visual-cpp-toolset.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,17 @@ If you're using the Modules feature of the C++ compiler, there are some differen
300300

301301
1. In the developer command prompt console window, enter the command **cl /P** *arguments* *modulename.ixx*, where *arguments* is the list of arguments captured above, and *modulename.ixx* is the name of the file that creates the module interface.
302302

303-
Finally, attach the preprocessed repros (*filename*.i and *modulename*.i) along with the .ifc output to your report.
303+
After you have generated the preprocessed files, its a good idea to make sure the problem still repros using the preprocessed file.
304+
305+
#### To confirm that the error still repros with the preprocessed file
306+
307+
1. In the developer console window, change back to the directory that contains your repro project.
308+
309+
1. Enter the command **cl** *arguments* **/TP** *filename*.i as above, to compile the preprocessed file as if it were a C++ source file.
310+
311+
1. Confirm that the problem is still reproduced by the preprocessed file.
312+
313+
Finally, attach the preprocessed repro files (*filename*.i and *modulename*.i) along with the .ifc output to your report.
304314

305315
### Link repros
306316

0 commit comments

Comments
 (0)