linux编译

来源:互联网 发布:淘宝多付款退款流程图 编辑:程序博客网 时间:2024/05/21 11:16
编译的时候出现类型转换错误,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


有人知道什么原因?
1 0
原创粉丝点击