implicit declaration of function ‘meset’ [-Wimplicit-function-declaration] }meset(Result);
时间: 2023-11-19 22:59:20 浏览: 47
implicit declaration of function(解决方案).md
This warning message is indicating that the function `meset` is being used without being declared. The compiler assumes that `meset` is a function that returns an `int` and takes an unspecified number of arguments.
To resolve this warning, you need to include the appropriate header file that declares the `meset` function. The `meset` function is not a standard C library function, so the required header file may vary depending on the implementation.
One possible header file that declares `meset` is `<string.h>`. Therefore, you should include this header file at the top of your source code file:
```
#include <string.h>
```
By including this header file, you are providing a prototype declaration for the `meset` function, allowing the compiler to properly check its usage.
阅读全文