Visual Studio 2010 Intellisense Errors in Library Files

I get many intellisense errors in the included header files by default:

Example:

5 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\new 55 15 IntelliSense: first parameter of allocation function must be of type 'size_t' c:\program files (x86)\microsoft visual studio 10.0\vc\include\xlocale 138 

How can I remove these errors from the Error List window? But still you see errors from my own project files.

Obviously, I will not fix the default VS2010 libraries ...

Edit:

In the previous answer, it was mentioned that something went wrong in the definition of size_t . (This is not just size_t , but most of the errors are caused by size_t , and I'm sure that if I resolve this, I can solve the rest).
Is there any way, at least, to find in which project in the current solution an error occurs? Or what could lead to this?

Still looking for solutions to find a solution.

+4
source share
1 answer

Does it always show these errors, or is it just beginning? This is not a good solution, but I just had to reinstall Visual Studio 2010 to fix my header files. For some reason, I still don't understand, my whole VC / include folder has been cleaned up and there are only 3 files left in it. If something goes wrong or changes, reinstalling might be the easiest solution.

+1
source

Source: https://habr.com/ru/post/1394349/


All Articles