I use MSVC++ 2005 x64. Some code work incorrectly in release optimizing mode. So, I want to make test for that code. Problem is, my test code run only in debug mode. (I dont' want mix test code in product code.)
So, Can I declare some part of code to compile as release optimizing mode in debug build? For example, like, __asm ... or something... __build_start(Release) int x = 0; .. do something .. __build_end(Release)
Thanks in advance.