Removes LCL, LazUtils deprecation warnings introduced when routines were deprecated in lclproc.pas.
- Lazarus 3.99 (rev main_3_99-1902-g1b27926055)
- FPC 3.2.2 x86_64-win64-win32/win64
- Operating System: Windows
- CPU / Bitness: AMD/64-bit
What is it?
The attached patch removes deprecation warnings introduced when routines in lclproc.pas were deprecated. It adds LazLoggerBase and/or LazTracer to the uses clause as needed, and prefixes calls to the replacement routines with the unit name.
One notable change was made to the lclproc.pas unit. The deprecation messages for routines like DbgS() and DbgSName() suggested use of methods in DebugLogger that do not exist. They actually need to call the LazLogger interface routines by the same name as the deprecated routine.
This patch does not address the warnings if they are in the IDE, its Packages, SynEdit, or the Debugger. One thing at a time...
I had planned to upload a patch per unit, but realized that was as big a nuisance as the deprecation warnings themselves. I can upload them if you really need them individually.