[c++] How to resolve compiler warning 'implicit declaration of function memset'