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
../confuse.c:118:15: error: use of undeclared identifier 'str'
siz = strlen(str) + 1;
^
../confuse.c:123:15: error: use of undeclared identifier 'str'
memcpy(copy, str, siz);
The fix could be either change the parameter to 'str' or change usage of 'str' in the function body to 's'.
The text was updated successfully, but these errors were encountered:
Well, that's an obvious fix. But what's not obvious is what system you are building libConfuse for? Not having strdup() is very rare, unless you're building for a very stripped down non-POSIX compliant embedded system.
../confuse.c:118:15: error: use of undeclared identifier 'str'
siz = strlen(str) + 1;
^
../confuse.c:123:15: error: use of undeclared identifier 'str'
memcpy(copy, str, siz);
The fix could be either change the parameter to 'str' or change usage of 'str' in the function body to 's'.
The text was updated successfully, but these errors were encountered: