openzfsonosx / spl

Solaris Porting Layer for OpenZFS on OS X
https://openzfsonosx.org/
Other
117 stars 28 forks source link

Xcode 11/Catalina: error: conflicting types for 'strnlen' #21

Closed yurikoles closed 5 years ago

yurikoles commented 5 years ago

Full log I saw this error with Xcode 11, but now xcode-select is set to stable Xcode 10.3, but I was able to compile it this way before. Setting to Xcode 11 doesn't resolve this issue.

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
lundman commented 5 years ago

Unfortunately, I believe Apple has an issue in their header kcdata.h:1246, and I'm not sure how we should work around it.

yurikoles commented 5 years ago

Fixed in 45a67cae05ef4e2494f674fa9893d45b05e43667.