I'd like the compiler to stop on a given warning, like if it was an error.
The goal is to force taking into account warnings that could be really harmful to the code (not every warning is equal regarding severity)
For exemple, I'd like the compiler to stop on such warnings:
- Result may not be initialized
- Usage of a deprecated method
- ...
I didn't find any option in the IDE, maybe in the command line compiler?
Delphi 10.3.2
Thanks,