[fpc-pascal] Problem using ipc with OSX and fpc 3.0.0
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Apr 20 11:05:18 CEST 2016
Tony Whyman wrote on Wed, 20 Apr 2016:
> The problem is that the code makes a direct call to the semctl
> function (defined in ipc.pp) and uses the SEM_GETVAL constant as the
> command value. "Identifier not found errors" are returned for
> SEM_GETVAL (and SEM_SETVAL as well).
That's indeed a bug in FPC 3.0, where these constants were
accidentally disabled for Darwin. They have been re-enabled in svn
already, and this fix will be in FPC 3.0.2.
To work around this bug, you can copy the constants to your own source
file for now.
Jonas
More information about the fpc-pascal
mailing list