unresolved external symbol __report_rangecheckfailure solution ideas

Source: Internet
Author: User

unresolved external symbol __report_rangecheckfailure solution ideas

__report_ Rangecheckfailure   is used to check the stack cache overflow, if the compile time to open the GS (Project property--"Configuration properties--" c/c++--"code generation--"Buffer Security check" option (GS compile option resolution), the compiler will join detect function stack cache overflow error extra code. Implementation of the Runtime Library file under Window msvcrt.dll. While these check stack caches overflow in code in msvcrt11.dll and later will be called to the __report_rangecheckfailure function, so when you use VS2010 and the previous version to develop, When using a library file compiled by vs2012 and later compilers, this error is reported when the link is made.

Resolution version:

First, recompile the library file with the current vs.

Second, compile the library file when the GS option is turned off;

Third, the use of vs2012 and the above version for development;


reference link: http://www.datazx.cn/Forums/en-US/7abc7f63-c3a6-4a55-babc-6914870d4959/ Unresolved-external-symbol-reportrangecheckfailure?forum=vcgeneral




unresolved external symbol __report_rangecheckfailure solution ideas

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.