Java Question Error compiling library with SLC

bartv

Member
Licensed User
Longtime User
Hi,
I'm experiencing errors while compiling a java codebase.
The error is :
\src\org\kxml2\io\KXmlParser.java:80: error: prefix is already defined in adjustNsp()
String prefix = attrName.substring(0, cut);
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
I'd really hate to correct all the errors (I've tried to) but there are lots and probably an option can do the trick.
So how to compile this? How to insert the option -Xlint?

Thanks,
Bart
 

bartv

Member
Licensed User
Longtime User
Thanks, Erel,
It's just that it's an existing package, so it should be possible to compile somehow, it are not really errors, just double declarations and such.
I guess I should start with something smaller.
 

DonManfred

Expert
Licensed User
Longtime User
Yes. It is better to start with an small library to learn...
 
Top