I know it worked in the past... FPC has a bug, such as that certain code in a unit (or arccos several units) can trigger this error. The exact code that triggers it, is not known. So it is not simply possible to avoid the issue...
-Ur makes the compiled ppu to be "releases" => the compiler will no longer check if sources have changed. => That fixes the issue (if your issue is indeed this issue), but it means if you make changes to the LCL or to the package that contains the unit; well actually to any unit that was compiled with -Ur then you need to force build that package.
=> Find the package with that unit.
=> open the package and go to its options
=> find the "custom options"
=> Enter -Ur (uppercase U, if I recall correctly)
=> Recompile that package
Then build the IDE as normal.
If you search the forum for DateTimePicker (or the bugtracker), at least one of them should have the issue, and the steps - Afaik.
Sorry, I can't currently run and test the steps myself. To busy. Hence no more detailed steps.