- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I recently installed acad 2024, VS 2022, ObjectARX wizard 2024.
I created a basic ARX project using the wizard and attempted to compile as it is.
I immediately got this error; #error: /RTCc rejects conformant code, so it is not supported by the C++ Standard Library. Either remove this compiler option, or define _ALLOW_RTCc_IN_STL to suppress this error.
So I changed the following snippet in stdafx.h
to
- Is it OK to do this? Any consequences?? I'll be using MFC later in the project. Also I do dynamic type casting sometimes ;).
- Why in the first place the wizard did not define this?
- And why the (already) commented section did not have _ALLOW_RTCc_IN_STL? See first picture first line.
Thx
Solved! Go to Solution.