The definition of tagRAWHID is wrong
Thank you for the report, but seriously, I do wish that users would verify their input, when submitting reports ... not only have you provided an invalid reference to the header file, in which the errant definition may be found, but your indication as to the correct definition is every bit as wrong as that which you say is wrong! (The "preview" facility is provided for a purpose; had you used it, you might have seen your error, before you publicly humiliated yourself).
Furthermore, you need to furnish a small, self contained, complete example, which I can use as a test case, both to verify your report, and any ensuing correction which I may adopt; telling me that you can't compile freeglut-3.2.1 is not sufficient.
Sorry for the error, but i don't know how to edit the ticket. And I don't know how to input '[ 1 ]' without spaces among '[' , '1' and ']' correctly.
But I think I have give enough info for u to investigate the problem.
And I really don't know why you don't use github which has more users and much easier to submit PR.
And I have switched to mingw-w64 and u don't need to investigate any more, thanks any way.
According to MSDN https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-rawhid
but in mingw’s win32.h, the definition is :the definition of tagRAWHID is as the following:
Freeglut 3.2.1 can't compile with this definition, the error is :