Hi,

code:
----------------------------
PROC main()
#pragma begindump
#include "hbthread.h"
static HB_CRITICAL_NEW( s_mtx );
void somefunc( void )
{
   HB_CRITICAL_INIT( s_mtx );
}
#pragma enddump
----------------------------

causes warning on BCC:
Warning W8075 test.prg 7: Suspicious pointer conversion in function somefunc

The same warning is generated for HB_CRITICAL_LOCK( s_mtx ) and HB_CRITICAL_UNLOCK( s_mtx ).


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to