Thanks for the reply. For C/C++ Code Generation, I set the Smaller Type Check to No. And I have tried every option in the Basic Runtime Checks, and they all give me error of confliction with /clr.
The following is my C/C++ > Command Line > All Options:
/Od /I "../../sdk/AE/6.0/Headers/AS" /I "../../sdk/AE/6.0/Headers/ADM" /I "../../sdk/AE/6.0/Headers" /I "../../sdk/AE/6.0/Util" /I "../../xml/xerces-c2_4_0/include" /I "../../sdk/AAF/AAFWinSDK/include" /I "../../sdk/AAF/Utilities/Include" /AI ".\Debug" /D "MSWindows" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "AEIOAAF_EXPORTS" /D "OM_ENABLE_DEBUG" /D "PEI_INTERNAL" /D "_WINDLL" /FD /EHsc /MDd /GS /Fo".\Debug/" /Fd".\Debug/" /FR".\Debug/" /W3 /nologo /c /Zi /clr
I got error of "Command line error D2016 : '/RTC1' and '/clr' command-line options are incompatible". Any idea why? Thanks.
Yifan
----- William DePalo [MVP VC++] wrote: -----
Yifan said:
Could any one tell me what project property controls
the setting of '/RTC1' option? Now I have a project
which has this build error "Command line error D2016 :
'/RTC1' and '/clr' command-line options are incompatible".
But when I view the .vcproj file, I cannot find the '/RTC1' option.
If you look up 'RTC' in MSDN you will find this:
<quote>
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Setting
Visual C++ Project Properties.
Click the C/C++ folder.
Click the Code Generation property page.
Modify one or both of the following properties: Basic Runtime Checks or
Smaller Type Check.
</quote>
Regards,
Will