garbear / xbmc

XBMC Main Repository
http://xbmc.org
Other
134 stars 53 forks source link

std:strlen linux compile error #51

Closed Blunk closed 8 years ago

Blunk commented 8 years ago

std:strlen does not compile on linux. strlen without namespace identifier is used elsewhere in the project.

garbear commented 8 years ago

std::strlen is fine, the compile fails because #include <cstring> got lost in the rebase. Thanks for pointing this out, i'll re-add the include

If we did switch to ::strlen(), #include <string.h> would be a required header

garbear commented 8 years ago

Fixed, I've verified that this compiles on linux now.

Heads up, I'm rebasing like crazy until 17 alpha 1 is released (probably May 1). After that I'll go back to building on the point release.