I discovered yesterday that I would get errors whenever I tried to set a string by using
pstring(allocatedpointer)^ := 'test';

I can easily reproduce it and the exact same code works fine in Delphi 7