BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2009, 09:47 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8830
PIN: N/A
Carrier: Telus
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default -Xlint:deprecation

Please Login to Remove!

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
Offline  
Old 07-24-2009, 09:33 PM   #2 (permalink)
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

__________________
Antair BlackBerry Software
A spam filter for a cleaner inbox, a call screener to block calls, and more great BlackBerry tools.
www.antair.com
Offline  
Old 07-24-2009, 09:40 PM   #3 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8830
PIN: N/A
Carrier: Telus
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Offline  
Old 07-24-2009, 09:46 PM   #4 (permalink)
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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).
__________________
Antair BlackBerry Software
A spam filter for a cleaner inbox, a call screener to block calls, and more great BlackBerry tools.
www.antair.com
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Msa H2s Altair Pro Single Gas Detector,10074136,cal Cert Included
$42.0
Msa H2s  Altair Pro Single Gas Detector,10074136,cal Cert Included pictureMSA Altair 5x Multigas Detector LEL CO H2S O2
$351.0
MSA Altair 5x Multigas Detector LEL CO H2S O2 pictureMSA Altair 5XIR MULTI-GAS DETECTOR LEL,O2,CO,H2S&SO2-MINT CONDITION
$1295.0
MSA Altair 5XIR MULTI-GAS DETECTOR LEL,O2,CO,H2S&SO2-MINT CONDITION picture safety 10071364 single gas oxygen o2 l19.5% h 18.0% altair detector
$361.56
 safety 10071364 single gas oxygen o2 l19.5% h 18.0% altair detector pictureMsa Altair Particulate Filters 5 Pack
$5.0
Msa Altair Particulate Filters 5 Pack picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.