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
There are two usages of strndup which is specified by POSIX, but not C standard, and thus not widely available, e.g. on Mac OS X 10.5 with gcc 7. On this platform, #2508 is also necessary for cstest.
The text was updated successfully, but these errors were encountered:
Work environment
-DCAPSTONE_BUILD_CSTEST=ON
Expected behavior
cstest (
-DCAPSTONE_BUILD_CSTEST=ON
) compilesActual behavior
Steps to reproduce the behavior
Compile with cmake and cstest enabled (
-DCAPSTONE_BUILD_CSTEST=ON
) on a platform that does not have strndup.Additional Logs, screenshots, source code, configuration dump, ...
There are two usages of
strndup
which is specified by POSIX, but not C standard, and thus not widely available, e.g. on Mac OS X 10.5 with gcc 7. On this platform, #2508 is also necessary for cstest.The text was updated successfully, but these errors were encountered: