| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3357
Application: | FLTK Library |
Duplicate Of: | STR #3271 |
Status: | 2 - Closed w/o Resolution |
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 (FL_SOCKET) |
Version: | 1.4-feature |
Created By: | szukw000 |
Assigned To: | AlbrechtS |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#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 | |
|
#2 | AlbrechtS 13:18 Jan 16, 2023 |
| This is a duplicate of STR 3271 and will be closed. Please follow STR 3271 for further progress: https://www.fltk.org/str.php?L3271
The information given here is not lost, but we can work only on one STR for one issue. | |
[ Return to Bugs & Features ]
|
| |