PHYSFS_getUserDir deprecated

Create issue
Issue #145 wontfix
Christiaan Janssen created an issue

I was building from sources, using ndk-build. A warning came out saying that PHYSFS_getUserDir is deprecated. It still compiles and runs fine, but maybe you'd want to check this.

Offending line is in jni/love/src/modules/filesystem/physfs/Filesystem.cpp, method Filesystem::getUserDirectory()

static std::string userDir = normalize(PHYSFS_getUserDir());

More info: https://icculus.org/physfs/docs-devel/html/deprecated.html

Comments (3)

  1. Alex Szpakowski

    It was deprecated in PhysFS 2.1 (which isn't technically released yet) with no replacement. Since it still works and does what we want, we haven't replaced it.

  2. Log in to comment