You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To successfully compile with clang 18, I needed to add:
#define _GNU_SOURCE
to ONElib.c
No other change required. There may of course be a better way to address the issue?
Error generated without was:
ONElib.c:1792:29: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1792 | va_start (args, format) ; vasprintf (&p.command, format, args) ; va_end (args) ;
The text was updated successfully, but these errors were encountered:
To successfully compile with clang 18, I needed to add:
#define _GNU_SOURCE
to ONElib.c
No other change required. There may of course be a better way to address the issue?
Error generated without was:
ONElib.c:1792:29: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1792 | va_start (args, format) ; vasprintf (&p.command, format, args) ; va_end (args) ;
The text was updated successfully, but these errors were encountered: