yvanvds
Member
|
Dependency problem with Smaller Type Check
This one is just a bit of an inconvenience.
I am using an external DLL in my application. It has /RTCc disabled (C++ -> Code Generation -> Smaller Type Check set to 'no').
Esenthel has /RTCc enabled in debug mode. So I can only run in Release mode. I can go to debug mode in VS, but i have to edit the project properties before I can run it, every time I open VS.
And specifying a debug version of that DLL in debug mode is not possible in the editor.
Is there any way to change this behaviour?
Thanks,
yvan
|
|
10-21-2022 07:19 PM |
|
Esenthel
Administrator
|
RE: Dependency problem with Smaller Type Check
|
|
10-22-2022 03:41 AM |
|
yvanvds
Member
|
RE: Dependency problem with Smaller Type Check
Ok, thanks. FYI, this is the error:
Code:
/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 acknowledge that you have received this warning.
|
|
10-22-2022 04:36 PM |
|
RedcrowProd
Member
|
RE: Dependency problem with Smaller Type Check
i had a similar issue IIRC including the GOG API, defining it should let it build
#define _ALLOW_RTCc_IN_STL
|
|
10-22-2022 11:06 PM |
|
Esenthel
Administrator
|
RE: Dependency problem with Smaller Type Check
|
|
10-23-2022 04:34 AM |
|
yvanvds
Member
|
RE: Dependency problem with Smaller Type Check
I did not experiment any further and don't have access to the source code of the library i am using. But maybe the problem occurs when one library has that define and another one does not?
edit:
I did add that define and it did not make any difference. But I was not sure wether #define was accepted in the editor or not.
(This post was last modified: 10-24-2022 12:55 AM by yvanvds.)
|
|
10-24-2022 12:47 AM |
|