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
$ gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
calls to
strdup
crashes on linuxstrdup
is not a C standard:https://stackoverflow.com/questions/19641460/using-strdup-in-c11
the cmake file compiles with
--std=c11
a simple test to reproduce the crash
I believe this line adds the
--std=c11
when compiling:https://github.com/sonneveld/nagi/blob/master/src/CMakeLists.txt#L4
The text was updated successfully, but these errors were encountered: