I downloaded then ifdef-ed the latest version. It should be ok now. Tested with:
- FPC 3.0.0, FPC 3.0.2, FPC trunk
- Lazarus 1.8, Lazarus trunk
- win32/64, gtk2, carbon
It does not work with FPC trunk on any OS except for Windows because unit semaphore in WST has {$DEFINE FPC_TM}.
For Windows it is not defined for some reason.
Then the code uses TThreadManager which I guess has changed a lot in FPC trunk resulting many errors.
This is not specific to the version in OPM, the same code is in WST trunk.
WST development has not been active recently, there is only 1 commit this year and the previous one is from October 2016.
Now I am worried that you people essentially fork the WST project and maintain a competing OPM version. It is waste of resources. In some situations a fork is good but not in this situation, as apparently the official maintainer is busy or tired. The OPM fork does not even use revision control which makes things worse.
WST sources are in Lazarus CCR repo. We can now take the liberty to commit bug fixes there. Then only the release version of WST for OPM would be outside the "official" releases. I guess all people involved (myself, GetMem, Avra) have commit rights to CCR. (?)
Fixes can be backported from CodeTyphon as much as needed. That is the beauty of FOSS (Free and Open Source Software).
We also must try to contact Inoussa more. He has not answered the WST mailing list.