We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I'm getting bunch of warnings when compiling at Centos 7 on the latest Herc `
../common/memmgr.h:84:2: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] char *(*astrndup)(const char *p, size_t size, const char *file, int line, const char *func) attribute((nonnull (1))) GCCATTR ((returns_nonnull)); ^ ../common/memmgr.h:96:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] void *malloc_proxy(size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute ((alloc_size (1))) GCCATTR ((returns_nonnull)); ^ ../common/memmgr.h:97:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] void *calloc_proxy(size_t num, size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute ((alloc_size (1, 2))) GCCATTR ((returns_nonnull)); ^ ../common/memmgr.h:98:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] char *strdup_proxy(const char *p, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute((nonnull (1))) GCCATTR ((returns_nonnull)); ^ ../common/memmgr.h:99:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] char *strndup_proxy(const char *p, size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute((nonnull (1))) GCCATTR ((returns_nonnull));
`
The text was updated successfully, but these errors were encountered:
what hercules version you using?
what compiler version you using?
Sorry, something went wrong.
latest sir [Release v2022.04.07] centos-release-7-9.2009.1.el7.centos.x86_64 i just download and ./configure && make clean && make sql && make plugins
is it the gcc version? its gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
No branches or pull requests
Describe the bug
I'm getting bunch of warnings when compiling at Centos 7 on the latest Herc
`
../common/memmgr.h:84:2: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
char *(*astrndup)(const char *p, size_t size, const char *file, int line, const char *func) attribute((nonnull (1))) GCCATTR ((returns_nonnull));
^
../common/memmgr.h:96:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
void *malloc_proxy(size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute ((alloc_size (1))) GCCATTR ((returns_nonnull));
^
../common/memmgr.h:97:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
void *calloc_proxy(size_t num, size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute ((alloc_size (1, 2))) GCCATTR ((returns_nonnull));
^
../common/memmgr.h:98:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
char *strdup_proxy(const char *p, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute((nonnull (1))) GCCATTR ((returns_nonnull));
^
../common/memmgr.h:99:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
char *strndup_proxy(const char *p, size_t size, const char *file, int line, const char *func) GCC11ATTR ((malloc, malloc (free_proxy, 1))) attribute((nonnull (1))) GCCATTR ((returns_nonnull));
`
The text was updated successfully, but these errors were encountered: