我理解预谋者的目的和理由。 然而,执行这些规则时有什么规则? 从我的理解来看,情况就是如此:
- Set your project up to use precompiled headers with the YU directive.
- Create your stdafx.h file and set that to be your precompiled header.
- Include this as the top include statement in each of your .h files.
这是正确的吗? 您是否应当排除将它列入列入您事先编造的主人档案? 目前,在我进行这方面研究时,我有以下汇编错误:
error C2857: #include statement specified with the /Ycstdafx.h command-line option was not found in the source file
指挥线的选择是:
/Od /I "../External/PlatformSDK/Include" /I ".." /I "../External/atlmfc/Include" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yc"stdafx.h" /Fp"....OutputLudoCoreDebugLudoCore.pch" /Fo"....OutputLudoCoreDebug" /Fd"....OutputLudoCoreDebugvc80.pdb" /W4 /WX /nologo /c /ZI /TP /wd4201 /errorReport:prompt