Hello All,
There are warnings at BCC Harbour build after change below:
2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
% added architecture independent support for atomic operations and
spinlocks in all SunOS builds
It seems that missing casting in the include\hbatomic.h at the following
lines:
/* Spin locks */
# if !defined( HB_SPINLOCK_T )
# define HB_SPINLOCK_T volatile LONG
# define HB_SPINLOCK_INIT 0
# define HB_SPINLOCK_ACQUIRE(l) do { \
for( ;; ) \
{ \
if( !InterlockedExchange( (LONG
*)(l), 1 ) ) \
break; \
if( !InterlockedExchange( (LONG
*)(l), 1 ) ) \
break; \
Sleep( 0 ); \
} \
} while(0)
# define HB_SPINLOCK_RELEASE(l) do { *(l) = 0; } while(0)
# endif
Please be so kind to confirm and fix this issue.
Thanks in advance!
--
Kind Regards,
Grigory Filatov
--
View this message in context:
http://www.nabble.com/Warnings-at-Harbour-BCC-creating-tp24898655p24898655.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour