BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-23-2009, 09:47 PM   #1
subaru_sti
New Member
 
Join Date: Jul 2009
Model: 8830
PIN: N/A
Carrier: Telus
Posts: 9
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
andreybutov
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
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
subaru_sti
New Member
 
Join Date: Jul 2009
Model: 8830
PIN: N/A
Carrier: Telus
Posts: 9
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
andreybutov
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
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



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


INTEL XEON E5 2520V2 E5 2620V2 SR1AN 2.10 GHZ Core Processor 3401A832 picture

INTEL XEON E5 2520V2 E5 2620V2 SR1AN 2.10 GHZ Core Processor 3401A832

$12.00



Supermicro X10DRT-B+ SuperServer Motherboard, 2x Intel Xeon E5-2620 picture

Supermicro X10DRT-B+ SuperServer Motherboard, 2x Intel Xeon E5-2620

$149.99



INTEL S5000PSL Multi-Core Xeon Motherboard / Server Board w/ 2X L5420 & 2X2G RAM picture

INTEL S5000PSL Multi-Core Xeon Motherboard / Server Board w/ 2X L5420 & 2X2G RAM

$61.62



INTEL XEON 3.40GHz QUAD CORE CPU PROCESSOR SR0P5 E3-1240V2 LGA1155 SOCKET picture

INTEL XEON 3.40GHz QUAD CORE CPU PROCESSOR SR0P5 E3-1240V2 LGA1155 SOCKET

$24.99



Kit xeon Maxgeek DSE6020 MKII Generator Controller Generator Set Control Panel picture

Kit xeon Maxgeek DSE6020 MKII Generator Controller Generator Set Control Panel

$132.00



Intel R1208GZ4GC Server picture

Intel R1208GZ4GC Server

$375.00







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