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

后端 未结 3 1949
忘了有多久
忘了有多久 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:16

    Your compiler may be (correctly) placing the memchr function in the C++ std namespace. Try prefixing memchr call with std:: and if that fails, post the code that causes the problem.

提交回复
热议问题