Обсуждение: Alpha 4.0d SLOCK problems v6.4.2

Поиск
Список
Период
Сортировка

Alpha 4.0d SLOCK problems v6.4.2

От
Mary Pat Reeve
Дата:
When compiling v6.4.2 I get the error

In file included from ipc.c:36:
../../../include/storage/s_lock.h:103: aggregate value used where an
integer was expected
ipc.c: In function `IpcSemaphoreCreate':
ipc.c:367: warning: cast to pointer from integer of different size
ipc.c: In function `IpcMemoryCreate':
ipc.c:569: warning: cast to pointer from integer of different size
ipc.c: In function `CreateAndInitSLockMemory':
ipc.c:699: incompatible types in assignment
ipc.c:702: incompatible types in assignment
ipc.c:703: incompatible types in assignment
ipc.c:704: incompatible types in assignment
ipc.c: In function `AttachSLockMemory':
ipc.c:725: incompatible types in assignment
../../../include/storage/s_lock.h: At top level:
../../../include/storage/s_lock.h:86: warning: `tas' defined but not
used
make: *** [ipc.o] Error 1

The lines all result from the function/macro S_INIT_LOCK().

I'm having trouble trakcing down the solution, has anyone
else had this problem and found a type change that will work?

Thanks!
Mary Pat