Hi Enrico Maria,

I confirm these warnings too. :-(

It seems that missing casting in the include\hbatomic.h.

Try to change 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 

I hope that helps.

--
Regards,
Grigory Filatov


Enrico Maria Giordano wrote:
> 
> Warning W8075 ../../../../garbage.c 220: Suspicious pointer conversion in 
> function hb_gcAlloc
> Warning W8075 ../../../../garbage.c 220: Suspicious pointer conversion in 
> function hb_gcAlloc
> Warning W8075 ../../../../garbage.c 249: Suspicious pointer conversion in 
> function hb_gcFree
> Warning W8075 ../../../../garbage.c 249: Suspicious pointer conversion in 
> function hb_gcFree
> Warning W8075 ../../../../garbage.c 307: Suspicious pointer conversion in 
> function hb_gcRefFree
> Warning W8075 ../../../../garbage.c 307: Suspicious pointer conversion in 
> function hb_gcRefFree
> Warning W8075 ../../../../garbage.c 357: Suspicious pointer conversion in 
> function hb_gcRefCheck
> Warning W8075 ../../../../garbage.c 357: Suspicious pointer conversion in 
> function hb_gcRefCheck
> Warning W8075 ../../../../garbage.c 393: Suspicious pointer conversion in 
> function hb_gcGripGet
> Warning W8075 ../../../../garbage.c 393: Suspicious pointer conversion in 
> function hb_gcGripGet
> Warning W8075 ../../../../garbage.c 415: Suspicious pointer conversion in 
> function hb_gcGripDrop
> Warning W8075 ../../../../garbage.c 415: Suspicious pointer conversion in 
> function hb_gcGripDrop
> Warning W8075 ../../../../garbage.c 432: Suspicious pointer conversion in 
> function hb_gcLock
> Warning W8075 ../../../../garbage.c 432: Suspicious pointer conversion in 
> function hb_gcLock
> Warning W8075 ../../../../garbage.c 455: Suspicious pointer conversion in 
> function hb_gcUnlock
> Warning W8075 ../../../../garbage.c 455: Suspicious pointer conversion in 
> function hb_gcUnlock
> Warning W8075 ../../../../garbage.c 600: Suspicious pointer conversion in 
> function hb_gcRegisterSweep
> Warning W8075 ../../../../garbage.c 600: Suspicious pointer conversion in 
> function hb_gcRegisterSweep
> Warning W8075 ../../../../garbage.c 614: Suspicious pointer conversion in 
> function hb_gcUnregisterSweep
> Warning W8075 ../../../../garbage.c 614: Suspicious pointer conversion in 
> function hb_gcUnregisterSweep
> Warning W8075 ../../../../garbage.c 800: Suspicious pointer conversion in 
> function hb_gcCollectAll
> Warning W8075 ../../../../garbage.c 800: Suspicious pointer conversion in 
> function hb_gcCollectAll
> 
> EMG
> 
> --
> EMAG Software Homepage:     http://www.emagsoftware.it
> The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
> The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
> The EMG Music page:         http://www.emagsoftware.it/emgmusic 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Warnings-tp24900439p24904213.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

Reply via email to