Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
How can i set _HAS_ITERATOR_DEBUGGING to 0
I tried setting using #define _HAS_ITERATOR_DEBUGGING 0 at the start of the main.cpp I tried in setting preprocessor definition
:( but with no success
Thanks in advance
Uday
You need to define it before you include any headers. Also note that if you are using precompiled headers,
#define _HAS_ITERATOR_DEBUGGING 0 #include <stdafx.h>
(where stdafx.h is a precompiled header)
will not work. The precompiled header must be the first thing in the file.
Add a comment
Sorry It was my mistake
I had to write this in preprocessor defnition __HAS __ITERATOR __DEBUGGING=0; __SECURE_SCL=0;
not
__HAS __ITERATOR __DEBUGGING 0; __SECURE _SCL 0;
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.