CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2004
    Posts
    62

    Recompile with -Xlint???

    I am getting this Note when I am compiling a batch file involving a SalesClient, SalesServer, CreateDatabase, etc. and I was wondering if any of you had seen this before?

    Note: Recompile with -Xlint:unchecked for details.

  2. #2
    Join Date
    Dec 2005
    Posts
    251

    Re: Recompile with -Xlint???

    Its a compiler warning that lets you know you that you are using a raw type of a class that is implemented using generics. To find out exactly what lines the compiler is referring to, compile from the command line using:

    javac -Xlint:unchecked <class to compile>

  3. #3
    Join Date
    Sep 2004
    Posts
    62

    Re: Recompile with -Xlint???

    Would this cause a problem when trying to create a database? Also, I used that syntax, but it doesn't seem to be working...the class I think the problem is coming from is SalesServer and so I entered that in with the Syntax you gave me, but it says the syntax is incorrect.

  4. #4
    Join Date
    Apr 2006
    Location
    India
    Posts
    214

    Re: Recompile with -Xlint???

    Quote Originally Posted by countrygirl2149
    Would this cause a problem when trying to create a database?
    Depends on which part of the code has problems, but mostly it should not.

    Quote Originally Posted by countrygirl2149
    Also, I used that syntax, but it doesn't seem to be working...the class I think the problem is coming from is SalesServer and so I entered that in with the Syntax you gave me, but it says the syntax is incorrect.
    Try this :
    javac -Xlint:unchecked SalesServer .java

    If you are into serious java programming then I would suggest that you get a good IDE , Netbeans and Eclipse are good and free. Will take some time to learn but worth the effort.

  5. #5
    dlorde is offline Elite Member Power Poster dlorde is a glorious beacon of light (400+) dlorde is a glorious beacon of light (400+) dlorde is a glorious beacon of light (400+) dlorde is a glorious beacon of light (400+) dlorde is a glorious beacon of light (400+) dlorde is a glorious beacon of light (400+)
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,161

    Re: Recompile with -Xlint???

    The best commercial IDE (in my opinion), IntelliJ IDEA, now has an $99 acedemic license for students and teachers, which puts it within reach for serious student programmers.

    Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats...
    H. Aiken
    Please use &#91;CODE]...your code here...&#91;/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width