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] #38736: DTM_SETFORMATW incorrectly defined in
commctrl.h (MinGW Notification List)
2. [mingw] #38736: DTM_SETFORMATW incorrectly defined in
commctrl.h (MinGW Notification List)
3. [mingw] #38736: DTM_SETFORMATW incorrectly defined in
commctrl.h (MinGW Notification List)
4. [mingw] #38736: DTM_SETFORMATW incorrectly defined in
commctrl.h (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Thu, 08 Nov 2018 23:28:18 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38736: DTM_SETFORMATW incorrectly
defined in commctrl.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38736: DTM_SETFORMATW incorrectly defined in commctrl.h
Open Date: 2018-11-08 23:28
Last Update: 2018-11-08 23:28
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-08 23:28 Updated by: heisenbug
* New Ticket "DTM_SETFORMATW incorrectly defined in commctrl.h" created
---------------------------------------------------------------------
Ticket Status:
Reporter: heisenbug
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Problem: MinGW's w32api header commctrl.h incorrectly defines DTM_SETFORMATW as
0x1050.
The official MSVC++ WinAPI headers define DTM_SETFORMATW as 0x1032, via the
expression DTM_FIRST + 50, where DTM_FIRST is 0x1000. This of course translates
to the correct value of 0x1032.
I suspect that DTM_SETFORMATW accidentally became 0x1050 in the MinGW header,
because of a mental hex addition error.
--
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/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
------------------------------
Message: 2
Date: Thu, 08 Nov 2018 23:30:58 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38736: DTM_SETFORMATW incorrectly
defined in commctrl.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38736: DTM_SETFORMATW incorrectly defined in commctrl.h
Open Date: 2018-11-08 23:28
Last Update: 2018-11-08 23:30
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-08 23:30 Updated by: heisenbug
* Details Updated
---------------------------------------------------------------------
Ticket Status:
Reporter: heisenbug
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Problem: MinGW's w32api header commctrl.h incorrectly defines DTM_SETFORMATW as
0x1050.
The official MSVC++ WinAPI headers define DTM_SETFORMATW as 0x1032, via the
expression DTM_FIRST + 50, where DTM_FIRST is 0x1000. This of course translates
to the correct value of 0x1032.
I suspect that DTM_SETFORMATW accidentally became 0x1050 in the MinGW header,
because of a mental hex addition error.
--
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/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
------------------------------
Message: 3
Date: Thu, 08 Nov 2018 23:09:20 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38736: DTM_SETFORMATW incorrectly
defined in commctrl.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38736: DTM_SETFORMATW incorrectly defined in commctrl.h
Open Date: 2018-11-08 22:28
Last Update: 2018-11-08 23:09
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-08 23:09 Updated by: keith
* Owner Update from (None) to keith
* Component Update from OTHER to WSL
Comment:
Reply To heisenbug
I suspect that DTM_SETFORMATW accidentally became 0x1050 in the MinGW
header, because of a mental hex addition error.
I've no idea who specified that original definition, nor how they deduced the
value -- Microsoft don't document it, other than as the definition in their
header file -- but I suspect that you are probably correct.
Thanks for reporting the issue, and thanks for not pushing the Microsoft header
file in my face, because I will never look at it directly; I can accept your
hint as to how Microsoft may define it, and so correct it for the next WSL
release.
---------------------------------------------------------------------
Ticket Status:
Reporter: heisenbug
Owner: keith
Type: Issues
Status: Open [Owner assigned]
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Problem: MinGW's w32api header commctrl.h incorrectly defines DTM_SETFORMATW as
0x1050.
The official MSVC++ WinAPI headers define DTM_SETFORMATW as 0x1032, via the
expression DTM_FIRST + 50, where DTM_FIRST is 0x1000. This of course translates
to the correct value of 0x1032.
I suspect that DTM_SETFORMATW accidentally became 0x1050 in the MinGW header,
because of a mental hex addition error.
--
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/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
------------------------------
Message: 4
Date: Fri, 09 Nov 2018 00:49:07 +0100
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38736: DTM_SETFORMATW incorrectly
defined in commctrl.h
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38736: DTM_SETFORMATW incorrectly defined in commctrl.h
Open Date: 2018-11-08 23:28
Last Update: 2018-11-09 00:49
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-11-09 00:49 Updated by: heisenbug
Comment:
You're welcome.
And I understand. If it helps: I have tested the 0x1032 value and can report
that it works as intended.
---------------------------------------------------------------------
Ticket Status:
Reporter: heisenbug
Owner: keith
Type: Issues
Status: Open [Owner assigned]
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Problem: MinGW's w32api header commctrl.h incorrectly defines DTM_SETFORMATW as
0x1050.
The official MSVC++ WinAPI headers define DTM_SETFORMATW as 0x1032, via the
expression DTM_FIRST + 50, where DTM_FIRST is 0x1000. This of course translates
to the correct value of 0x1032.
I suspect that DTM_SETFORMATW accidentally became 0x1050 in the MinGW header,
because of a mental hex addition error.
--
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/38736
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38736
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 14, Issue 2
*******************************************