There might still be people having to use "older" compilers
Lazarus trunk has not compiled with FPC 3.0.x for some time.
It is better clean the code and remove obsolete IFDEFs.
With older compilers you must use older Lazarus versions. They remain functional.
An "old compiler" is a flexible term. Even the supported FPC 3.2.0 is already old because of the slow release cycle of FPC project. ... and there are no signs for a bug fix release FPC 3.2.4 yet. This FPC policy is annoying to put it mildly.