2008-06-21 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbwhat32/_winsock.c
   * contrib/hbwhat32/_winmous.c
     ! Silenced GCC 4.30 warnings.
       NOTE: These warnings are pointing to important potential 
             bugs (GPFs) in these functions. It would be better 
             to fix them properly.
This commit is contained in:
Viktor Szakats
2008-06-21 16:27:22 +00:00
parent 6dffce6605
commit bd39d76a92
3 changed files with 15 additions and 12 deletions

View File

@@ -8,6 +8,14 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-06-21 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbwhat32/_winsock.c
* contrib/hbwhat32/_winmous.c
! Silenced GCC 4.30 warnings.
NOTE: These warnings are pointing to important potential
bugs (GPFs) in these functions. It would be better
to fix them properly.
2008-06-21 18:06 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbole/Makefile
+ Marked as w32 only.

View File

@@ -169,15 +169,10 @@ HB_FUNC( CLIPCURSOR )
HB_FUNC( GETCLIPCURSOR )
{
RECT rc ;
PHB_ITEM aRect;
RECT rc;
if ( GetClipCursor( &rc ) )
aRect = Rect2Array(&rc) ;
_itemReturn(aRect);
_itemRelease(aRect);
hb_itemReturnRelease( Rect2Array( &rc ) );
}

View File

@@ -274,10 +274,10 @@ HB_FUNC( RECVFROM )
HB_FUNC( SOCKSELECT )
{
fd_set *readfds ;
fd_set *writefds ;
fd_set *exceptfds ;
struct timeval *timeout ;
fd_set *readfds = NULL;
fd_set *writefds = NULL;
fd_set *exceptfds = NULL;
struct timeval *timeout = NULL;
if ( ISCHAR( 2 ) )
readfds = (fd_set *) hb_parc( 2 ); //hb_param( 2, HB_IT_STRING )->item.asString.value ;
@@ -327,7 +327,7 @@ HB_FUNC( SENDTO )
{
int iBuffLen = (ISNIL(3) ? ( ISNIL(2) ? 0 : hb_parclen(2) ) : hb_parni(3));
struct sockaddr *to ;
struct sockaddr *to = NULL;
int iToLen = 0 ;
if ( ISCHAR( 5 ) )