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] #39245: setjmp.h wrong parameters to _setjmp3
      (MinGW Notification List)
   2. [mingw] #39245: setjmp.h wrong parameters to _setjmp3
      (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Thu, 16 May 2019 03:13:02 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39245: setjmp.h wrong parameters to
        _setjmp3
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39245: setjmp.h wrong parameters to _setjmp3

  Open Date: 2019-05-16 03:13
Last Update: 2019-05-16 03:13

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2019-05-16 03:13 Updated by: rich_coe
 * New Ticket "setjmp.h wrong parameters to _setjmp3" created



---------------------------------------------------------------------
Ticket Status:

      Reporter: rich_coe
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

According to https://docs.microsoft.com/en-us/cpp/c-runtime-library/setjmp3

The correct api is int _setjmp3(jmp_buf env, int count, ....) where count is
the number of parameters that follow.

On 32-bit, as of e33afcd864a4e90a7b170585d802a3f85fbe7dfe, the setjmp.h that
got generated, maps setjmp(buf) to _setjmp3(buf, NULL)

I don't know what issue this causes, but as setjmp (_setjmp3()) is returning
-1, it might be an issue.

Also on the same page, _setjmp3 should not be used in a c++ context. The header
setjmp does not prevent _setjmp3 for c++.

There's a define USE_NO_MINGW_SETJMP_TWO_ARGS, which controls the number of
args to setjmp, but I don't know why yet.



-- 
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/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245


------------------------------

Message: 2
Date: Thu, 16 May 2019 03:22:25 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39245: setjmp.h wrong parameters to
        _setjmp3
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#39245: setjmp.h wrong parameters to _setjmp3

  Open Date: 2019-05-16 03:13
Last Update: 2019-05-16 03:22

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2019-05-16 03:22 Updated by: rich_coe

Comment:

Ignore my comment about setjmp() returning -1.



---------------------------------------------------------------------
Ticket Status:

      Reporter: rich_coe
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

According to https://docs.microsoft.com/en-us/cpp/c-runtime-library/setjmp3

The correct api is int _setjmp3(jmp_buf env, int count, ....) where count is
the number of parameters that follow.

On 32-bit, as of e33afcd864a4e90a7b170585d802a3f85fbe7dfe, the setjmp.h that
got generated, maps setjmp(buf) to _setjmp3(buf, NULL)

I don't know what issue this causes, but as setjmp (_setjmp3()) is returning
-1, it might be an issue.

Also on the same page, _setjmp3 should not be used in a c++ context. The header
setjmp does not prevent _setjmp3 for c++.

There's a define USE_NO_MINGW_SETJMP_TWO_ARGS, which controls the number of
args to setjmp, but I don't know why yet.



-- 
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/39245
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39245


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 20, Issue 4
*******************************************

Reply via email to