Hidden VC++ compiler switches: /showIncludes

This hidden Visual C++ compiler switch will print out the full path of files included via #includes. You add this option likewise… Sample output… 1>  Note: including file:  C:Program Files (x86)Microsoft Visual Studio 10.0VCatlmfcincludeafxwin.h 1>  Note: including file:   C:Program Files (x86)Microsoft Visual Studio 10.0VCatlmfcincludeafx.h 1>  Note: including file:    C:Program Files (x86)Microsoft Visual Studio 10.0VCincludenew.h 1>  […]
Continue reading…

 

Hidden VC++ compiler switches: /d1reportSingleClassLayoutSomeType

Did you ever want to know how a C++ class was laid out by VC++ compiler? There are few hidden switches which are not known to many hence would like to share those with my blog readers. So I will blog about these switches one by one. So for today the switch I’m going to […]
Continue reading…