mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jon Chesterfield <jonathanchesterfield@gmail.com>
To: musl@lists.openwall.com
Subject: Re: [musl] add noexcept to all functions please
Date: Sat, 6 Nov 2021 18:28:31 +0000	[thread overview]
Message-ID: <CAOUYtQA1w2Zun+yzt43Moxjy_QGwpdqt0pyYJkcZDy-FX3isMA@mail.gmail.com> (raw)
In-Reply-To: <CH2PR02MB6522E190C4CF7FC0C1E4FC53B28F9@CH2PR02MB6522.namprd02.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

That's a compiler bug, surely. A C function that takes no callbacks is not
going to throw.

On Sat, 6 Nov 2021, 17:56 sotrdg sotrdg, <euloanty@live.com> wrote:

> cpp-noexcept_call/README.md at main · tearosccebe/cpp-noexcept_call
> (github.com)
> <https://github.com/tearosccebe/cpp-noexcept_call/blob/main/README.md>
>
>
>
> The compiler does NOT treat the libc functions as noexcept functions in
> C++. They do not. In fact I have got bitten by this.
>
>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
>
>
>

[-- Attachment #2: Type: text/html, Size: 1319 bytes --]

  reply	other threads:[~2021-11-06 18:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06 17:15 sotrdg sotrdg
2021-11-06 18:28 ` Jon Chesterfield [this message]
2021-11-06 18:39   ` Joakim Sindholt
2021-11-07 17:37     ` James Y Knight
2021-11-07 18:20       ` Florian Weimer
2021-11-07 19:56         ` Markus Wichmann
2021-11-08  8:30           ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOUYtQA1w2Zun+yzt43Moxjy_QGwpdqt0pyYJkcZDy-FX3isMA@mail.gmail.com \
    --to=jonathanchesterfield@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).