-Xlint:deprecation
Hello.
When I compile my project, I get the following warning message: Recompile with -Xlint:deprecation for details. I know this is just a warning message, but how do I recompile with -Xlint:deprecation? Stephen |
Right click on the project and select PROPERTIES.
Choose COMPILE from the tabs on the top of the dialog. Check "Output source locations where deprecated APIs are used". Click OK. Save project. Done. :smile: |
Hmmm... Okay, so I did that and now I don't get the warning. What exactly did that do? I thought I would be able to see what was depricated.
Stephen |
When you use a deprecated API, the compiler will tell you if that flag is set. If you don't use any deprecated APIs it won't. The warning simply told you that you never specified that you wanted to see deprecated APIs (even if you had them).
|
All times are GMT -5. The time now is 06:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.