编译的时候出现类型转换错误,window环境下没有问题,但是linux编译出现以下错误,
错误log如下:-compile:[javac] Compiling 948 source files to ../trunk/bin/classes[javac] ../Fragment.java:495: error: inconvertible types [javac] int msgId = (int) msg.obj; [javac] ^ [javac] required: int [javac] found: Object[javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error有人知道什么原因?
linux编译
最新推荐文章于 2024-03-31 22:24:22 发布
