![]() |
-Xlint compile note
I know two people have posted somewhat similar threads, but no one seems to hit the answer. After I compile, it get a note:
Note: C:/ .... .java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. It has been said that it's not a warning or error, but what is Xlint? How can I recompile with Xlint? What can cause it? |
You're using JCreator right? I'm not sure what that exactly means (I never bothered to investigate) but I usually just copy the files and recompile it in a new project, that seems to work for me. ;)
|
I use jGRASP. I think it's from transfering the file between two computers daily because it suddenly appeared.
|
not sure if jGRASP can handle cvs, but if it does it might be something you want to look into, rather than manually transfering the files back and forth.
|
Do the two computers have the same versions of the SDK?
http://java.sun.com/j2se/1.5.0/docs/...ris/javac.html -Xlint:unchecked is a compiler option :
javac -Xlint:unchecked |
I don't think they are, my home computer has a year old version, while the other has the most current. Good point.
|
| All times are GMT -5. The time now is 10:20 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC