Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #41072: the definition of tagRAWHID is wrong
(MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Thu, 24 Dec 2020 21:03:27 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #41072: the definition of tagRAWHID is
wrong
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#41072: the definition of tagRAWHID is wrong
Open Date: 2020-12-24 21:03
Last Update: 2020-12-24 21:03
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/41072
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41072
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2020-12-24 21:03 Updated by: royqh1979
* New Ticket "the definition of tagRAWHID is wrong" created
---------------------------------------------------------------------
Ticket Status:
Reporter: royqh1979
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
according to MSDN https://docs.microsoft.com/en-us/windows/win32/api/winuser/
ns-winuser-rawhid
the definition of tagRAWHID is as the following: typedef struct tagRAWHID { ……
BYTE bRawData1;
} ……;
but in mingw’s win32.h, the definition is : typedef struct tagRAWHID { ……
BYTE bRawData;
} ……;
Freeglut 3.2.1 can't compile with this definition, the error is : F:\Temp\test\
freeglut-3.2.1\src\mswin\fg_spaceball_mswin.c:169:71: error: subscripted value
is neither array nor pointer nor vector
169 | short* pnData = (short*)(&pRawInput->data.hid.bRawData1);
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/41072
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41072
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 39, Issue 6
*******************************************