STR #3357

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Post Text | Post File | Prev | Next ]

STR #3357

Application:FLTK Library
Status:5 - New
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:WIN32
Summary:fltk-1.4.x-r12117 Windows Data Types bug
Version:1.4-feature
Created By:szukw000
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 szukw000
00:03 Nov 24, 2016
win32.dif.gz
7k
 
 
#2 szukw000
00:05 Nov 24, 2016
win32-warnings.txt.gz
2k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#1 szukw000
00:03 Nov 24, 2016
'WinSock2.h' defines:

/*
 * The new type to be used in all
 * instances which refer to sockets.
 */
typedef UINT_PTR        SOCKET;

//--------------------------------------------------------

Windows Data Types (Windows).html

Windows Dev Center

    > Desktop programming > Using the Windows Headers

    Windows Data Types

    Data type   Description

    UINT_PTR    An unsigned INT_PTR.

                This type is declared in BaseTsd.h as follows:
                C++

                #if defined(_WIN64)
                 typedef unsigned __int64 UINT_PTR;
                #else
                 typedef unsigned int UINT_PTR;
                #endif

//--------------------------------------------------------

'basetsd.h', line 119:

#if defined(_WIN64)
    typedef __int64 INT_PTR, *PINT_PTR;
    typedef unsigned __int64 UINT_PTR, *PUINT_PTR;

    typedef __int64 LONG_PTR, *PLONG_PTR;
    typedef unsigned __int64 ULONG_PTR, *PULONG_PTR;

    #define __int3264   __int64

#else
    typedef _W64 int INT_PTR, *PINT_PTR;
    typedef _W64 unsigned int UINT_PTR, *PUINT_PTR;

    typedef _W64 long LONG_PTR, *PLONG_PTR;
    typedef _W64 unsigned long ULONG_PTR, *PULONG_PTR;

    #define __int3264   __int32

#endif


The file win32.dif.gz contains the patch.

winfried
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.