【发布时间】:2013-11-22 05:43:55
【问题描述】:
我从这里下载了 irrlicht android:
我尝试使用 ndk-build 编译 irllicht android,我收到以下错误:
In static member function 'static void irr::os::Printer::log(const c8*, irr::ELOG_LEVEL)':
error: format not a string literal and no format arguments [-Werror=format-security]
In static member function 'static void irr::os::Printer::log(wchar_t const*, irr::ELOG_LEVEL)':
error: format not a string literal and no format arguments [-Werror=format-security]
In static member function 'static void irr::os::Printer::log(const c8*, const c8*, irr::ELOG_LEVEL)':
error: format not a string literal and no format arguments [-Werror=format-security]
In static member function 'static void irr::os::Printer::log(const c8*, const path&, irr::ELOG_LEVEL)':
error: format not a string literal and no format arguments [-Werror=format-security]
make: *** [obj/local/armeabi/objs/irrlicht/os.o] Error 1
有谁知道如何解决这个问题?任何帮助将不胜感激。
【问题讨论】:
标签: android macos android-ndk irrlicht ndk-build