suppress warning in code [duplicate] - delphi

This question already has answers here:
How do I turn specific Delphi warnings and hints off?
(5 answers)
Closed 3 years ago.
in eclipse java there are operators that help suppress warning in code.
is such suppression in delphi?
and
warning off
warning on
is two commands.

In case you haven't found it, these can very easily be controlled from the Project Options dialog:

Related

How do I generate a Swift *Runtime* warning message? [duplicate]

This question already has answers here:
How to log a warning that shows up as a runtime issue in Xcode?
(7 answers)
Closed 2 years ago.
I would like to add a warning that shows up like the "Main Thread Checker" in the Issue Navigator under the Runtime tab.
I have used assert() in the past but I don't want to cause a crash, just note the issues in the navigator.
I want the error to only show if the code is run and not at compile time.
Maybe the answer is that one doesn't exist?
#warning("My message")
#error("Some Error")
I use this feature frequently to mark some TODOs: #warning("TODO: Some work")

Finding incompatible Objective-C category definitions from compiler warning after Swift 3 migration [duplicate]

This question already has answers here:
Xcode 8 Objective-C category warning
(8 answers)
Closed 3 years ago.
After migrating to Swift 3 compiler gives me a warning:
Some object files have incompatible Objective-C category definitions.
Some category metadata may be lost. All files containing Objective-C
categories should be built using the same compiler.
Does anyone know how can I find objects or files defined as some object files from the warning?
I have zillions of extensions and going through all of them would be a madness. Is there an easier way?
I know there are similar questions but no one asks how to find the files/objects responsible for the warning.
If you click on the warning, you will see the area in the build log where probably some library will be named.

What does this symbol mean on Xcode [duplicate]

This question already has an answer here:
Xcode issue navigator : What two arrows blue icon mean?
(1 answer)
Closed 6 years ago.
Suddenly, I am seeing something very strange on my Xcode.
I realize that is a static analyzer to help me know where memory leaks can happen but I want to know now how to get rid of this and without changing my code. I mean., what configuration, I can change in xCode to remove that symbol as it wasn't there just minutes ago.
It means you have 72 "static analyzer warnings". The Xcode static analyzer parses your source code and tries to find things that you wouldn't want to happen at runtime (for example never releasing some object to reclaim its memory).
You can find a lot more about it here.

How to delete the Localizable.strings from base.lproj [duplicate]

This question already has answers here:
In iOS how can I remove languages from Localizable.strings with Xcode
(2 answers)
Closed 7 years ago.
I don't need it, but when I delete it, I got a compile error.
So is there a way to do that?
Uncheck the 'Base' checkbox on the right panel.

How to change to use ARC from nonARC project? [duplicate]

This question already has answers here:
How do you enable ARC project-wide in Xcode 4.2
(3 answers)
How to automatically convert Manual Retain-Release code to ARC?
(2 answers)
Closed 9 years ago.
I have an project in nonARC mode. How to change it to ARC mode without create new project?
Is there any auto convert method, library or way?
I also want auto delete release,autorelease and change some text(retain -> strong,...)
This screen shot will help you
Read this DaveOnCode and Migrating your code to Objective-C ARC.

Resources