Is there a way to tell FPC to "forbid" a unit from being used?
Something like {$BAN UnitName}
The reason I ask is that it seems like a program that is using VIDEO should not use CRT. So adding {$BAN CRT} could make the compiler go tits up and simply refuse to continue: Banned unit (CRT, banned at BANLIST.INC:23) encounterd, compiler is done.
Yes, I could grep -ir all my sources, but that'd also include any other reference to crt, including commented out uses of it.