Thanks Przemek, I'll do this.
On 2008.10.12., at 19:29, Przemyslaw Czerpak wrote:
On Sun, 12 Oct 2008, Szak�ts Viktor wrote:
Hi Viktor,
* include/hbapierr.h
! Fixed casting in macro HB_ERR_FUNCNAME, as it was
generating a new warning with MSVC in 64-bit mode.
'( ( char * ) 1 )' -> '( ( const char * ) NULL + 1 )'
('const' keyword was not enough to silence it)
It will cause compilation warning or error in Compiler which
maps NULL as ( ( void * ) 0 ).
This casting:
( ( const char * ) ( HB_PTRDIFF ) 1 )
should work without warning also in MSVC.
best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour