Afaik older Pascals were pretty safe, and didn't allow certain casts. Things like @ (& in C) didn't exist etc. TP was already more relaxed, but had 16-bit real mode problems (just like 16-bits C that also had all kinds of limitations).
This is all very old hat, and contrary to what those revisionist posts state, C was not a picknick in the seventies and eighties either. I can remember people in the same room at the uni cursing about old K&R codebases. Only with ansi C the situation improved and the walls hindering porting non trivial code between compilers/unices disappeared somewhat.
if only because everybody started using GCC, and even commercial unices allowed to develop using gcc. (even if they had a proprietary C system compiler) and the older, original Unix derived compilers with their quirks and limitations died out.