#39658: mingwrt 5.2.2 does not expose function rand_s? Open Date: 2019-10-06 12:50 Last Update: 2020-01-21 22:21 URL for this Ticket: https://osdn.net//projects/mingw/ticket/39658 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39658 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2020-01-21 22:21 Updated by: keith * Status Update from Open to Closed * Owner Update from (None) to keith * Resolution Update from None to Fixed * Milestone Update from (None) to WSL-5.3 Comment: I've committed this to the source code repository, thus ensuring that it will be incorporated into mingwrt-5.3. --------------------------------------------------------------------- Ticket Status: Reporter: sping Owner: keith Type: Issues Status: Closed Priority: 5 - Medium MileStone: WSL-5.3 Component: WSL Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: Hi! Windows introduced function rand_s some time and while I find mention of it in MinGW's msvcrt-xref.pdf I cannot find a signature for it in mingwrt 5.2.2 headers. Are there plans to add a prototype to MinGW? We're about to define a prototype in https://github.com/libexpat/libexpat/pull/356/files for MinGW in Expat ourselves now but it seems like the real fix would be to have it in MinGW for everyone — what do you think? On a side note, msvcrt-xref.pdf says that rand_s is not contained in Windows XP but contained in Windows Vista an after. The way I read the MS docs they imply availability in Windows XP but it might be wishful thinking — if you know for sure, I'd be interested in more details. Thanks and best, Sebastian -- 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/39658 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39658