Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 23rd, 2006, 8:48 PM   #1
Xian_Fung
Newbie
 
Join Date: Jun 2006
Posts: 15
Rep Power: 0 Xian_Fung is an unknown quantity at this point
-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?
Xian_Fung is offline   Reply With Quote
Old Oct 23rd, 2006, 9:34 PM   #2
AntiNinja
Hobbyist Programmer
 
AntiNinja's Avatar
 
Join Date: Jun 2006
Location: The States
Posts: 101
Rep Power: 9 AntiNinja is on a distinguished road
Send a message via AIM to AntiNinja Send a message via Yahoo to AntiNinja
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.
__________________
Pain is just weakness leaving the body.
AntiNinja is offline   Reply With Quote
Old Oct 24th, 2006, 11:50 AM   #3
Xian_Fung
Newbie
 
Join Date: Jun 2006
Posts: 15
Rep Power: 0 Xian_Fung is an unknown quantity at this point
I use jGRASP. I think it's from transfering the file between two computers daily because it suddenly appeared.
Xian_Fung is offline   Reply With Quote
Old Oct 24th, 2006, 11:52 AM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,045
Rep Power: 13 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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.
__________________
Profanity is the one language that all programmers understand.
Pizentios is offline   Reply With Quote
Old Oct 24th, 2006, 12:29 PM   #5
peace_of_mind
Professional PFO Lurker
 
peace_of_mind's Avatar
 
Join Date: Sep 2004
Location: Georgia
Posts: 491
Rep Power: 11 peace_of_mind is on a distinguished road
Send a message via MSN to peace_of_mind
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
From the command line. Since you aren't using the command line here, you should be able to add this perhaps in the preferences menu. That should give you more detail on what the errors are.
__________________
Amateurs built the ark
Professionals built the Titanic

peace_of_mind is offline   Reply With Quote
Old Oct 24th, 2006, 7:24 PM   #6
Xian_Fung
Newbie
 
Join Date: Jun 2006
Posts: 15
Rep Power: 0 Xian_Fung is an unknown quantity at this point
I don't think they are, my home computer has a year old version, while the other has the most current. Good point.
Xian_Fung is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java socket Server compile errors.. n3o_X Java 3 Nov 18th, 2007 12:39 AM
please help me to compile cwl157 C++ 37 Mar 6th, 2006 6:12 PM
can't compile code lloydkirk Java 17 Oct 6th, 2005 2:07 AM
Fahrenheit / Celsius compile problem andrewgray C++ 20 Jul 8th, 2005 11:04 PM
C++ Compile gebreil C++ 6 May 29th, 2005 1:30 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC