error C2039: 'memchr' : is not a member of '`global namespace''

后端 未结 3 1954
忘了有多久
忘了有多久 2021-01-17 11:31

It has been quite a while since I am getting this error in the standard header file for no apparent reason. A google search brought up many answers but none

3条回答
  •  别那么骄傲
    2021-01-17 12:01

    Ok I fixed it myself. It was a stupid mistake! I have a file called "String.h" in a library project which is being picked up by the header. Probably because I have added the path to as an additional include directory in my test project (where I am getting this error.) Hope this helps someone.

提交回复
热议问题