Hello, the new memalignment function is causing a new compile warning:
misc/memalignment.c:9:8: warning: no previous prototype for ‘memalignment’
[-Wmissing-prototypes]
size_t memalignment(const void *p)
^~~~~~~~~~~~
Seems that the reason is that __STDC_VERSION__ is not set to 202311L and
so stdlib.h does not provide the prototype.
I would suggest to add "|| defined(_CRTBLD)" into stdlib.h for
memalignment() guard, to mingw-w64 runtime can use memalignment.
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public