All Questions
Tagged with compiler-warnings deprecated
11 questions
-3
votes
1
answer
109
views
How do I notify fellow developers that a target function is DEPRECATED and to offer a solution? [duplicate]
Scenario: A cocoaPod (or any shared code/framework) has a deprecated function (in my case MD5 hash) from which I want to display a warning & solution: SHA256().
I only have access to a shared POD....
0
votes
1
answer
117
views
android gradle plugin version below 2.+ has been deprecated at end 2018 that is true?
In current my android project i have use android gradle plugin version 2.3.0 but when i try to complier i have receive this warning
Warning:Configuration 'compile' is obsolete and has been replaced ...
28
votes
4
answers
36k
views
Gradle: List deprecated features
I am getting a warning about the usage of deprecated features in my build.
Is there a way to list all the deprecated features so that I may go through and update my code?
*clarification
I know I can ...
1
vote
2
answers
155
views
c-style for statement deprecated with a twist
I've been coding for about 2 years, but I am still terrible at it. Any help would be much appreciated. I have been using the following code to set my background image parameters, after updating to ...
21
votes
3
answers
14k
views
How to avoid deprecation warnings when @SuppressWarnings("deprecation") doesn't work?
We have a Java project. We enable -Xlint (enable warnings) and -Werror (treat warning as error) flags for javac, to make sure our code is warning-free. Recently we decide to deprecate a class. The ...
0
votes
1
answer
1k
views
java compiler warning: readStrings() in In (deprecated)
I'm running javac v1.6.0-65 in a Dr. Java studio on a Mac with OSX 10.9.1
I get the following warning:
Quick.java:53: warning: [deprecation] readStrings() in In has been deprecated
which isn't so ...
6
votes
3
answers
10k
views
Where is this backward_warning.h #warning coming from?
Without looking through every single source file in my XCode project, is there a way to find out which #include is triggering the following warning?
#warning This file includes at least one ...
5
votes
3
answers
6k
views
Dealing with deprecated methods in iPhone
How do you deal with deprecated methods in iPhone that require you to use a newer method, not available in older versions?
Consider the case of setStatusBarHidden:animated:, which was deprecated in ...
0
votes
2
answers
3k
views
Is there compile warnings or errors for deprecated code in XCode for iOS4 projects by default?
I took over an iPhone project recently that was developed prior iOS4. I'm wondering if XCode would prompt warnings or errors on compile. It currently succeeds with "No issues" when built so is it safe ...
6
votes
3
answers
2k
views
Should I use secure versions of POSIX functions on MSVC - C
I am writing some C code which is expected to compile on multiple compilers (at least on MSVC and GCC). Since I am beginner in C, I have all warnings turned on and warnings are treated as errors (-...
1
vote
4
answers
6k
views
Why am I getting a deprecated warning in XCode
I am getting a warning about setText method when I am not even using it. Why does XCode display this warning message?
alt text http://www.angryhacker.com/toys/deprecated.jpg