From: Andrew Bell <andrew.bell.ia@gmail.com>
To: musl@lists.openwall.com
Subject: Re: [musl] __MUSL__ macro
Date: Fri, 7 Jul 2023 11:24:51 -0400 [thread overview]
Message-ID: <CACJ51z1ZK43bXcvHyiByZWpD5kn1oCO-r0TfgspR6HUy3QsO9Q@mail.gmail.com> (raw)
In-Reply-To: <ZKgtHM5qde3zeSOA@voyager>
[-- Attachment #1: Type: text/plain, Size: 1557 bytes --]
On Fri, Jul 7, 2023 at 11:20 AM Markus Wichmann <nullplan@gmx.net> wrote:
> Am Fri, Jul 07, 2023 at 11:02:21AM -0400 schrieb Andrew Bell:
> > I guess I don't understand the opposition -- is there any downside to
> musl
> > to having the macros defined, necessary or not? (I'm saying this as a
> > minimalist, so I'm surprising myself here.)
> >
>
> Yes, it makes people write worse code. Not making the macros available
> makes people write more portable code, which is a good thing. Sometimes
> people have to be made to think for a moment, and broken out of their
> rut, to get them to do the right thing.
>
I guess I just don't think this is the job of a library -- to be the
arbiter of other people's programming. I may have seen some code inside
musl that I personally don't like ;)
> There is also the issue of what exactly the macros mean. Between
> distribution patches and backports, a version number does not
> necessarily map to a feature or bug set. And musl does not want to have
> any quirks, it wants to just be a POSIX implementation. So what
> specialties are supposed to be kept in mind when the musl macro is
> defined?
I understand if it can't be done well, but I would hope that it's not a big
deal to do. I do appreciate the adherence to standards and it seems
perfectly fine to respond to questions/proposals with "that's not the way
the standard works." But if this is easy, I just don't see the downside
from the standpoint of maintaining musl.
--
Andrew Bell
andrew.bell.ia@gmail.com
[-- Attachment #2: Type: text/html, Size: 2266 bytes --]
next prev parent reply other threads:[~2023-07-07 15:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-06 10:48 Alastair Houghton
2023-07-06 12:17 ` Alex Xu
2023-07-06 16:26 ` Szabolcs Nagy
2023-07-07 7:14 ` Alastair Houghton
2023-07-07 7:30 ` A. Wilcox
2023-07-07 8:24 ` Alastair Houghton
2023-07-07 11:20 ` Laurent Bercot
2023-07-07 11:45 ` Jeffrey Walton
2023-07-07 13:53 ` Rich Felker
2023-07-07 14:18 ` Alastair Houghton
2023-07-07 12:47 ` Rich Felker
2023-07-07 13:14 ` Alastair Houghton
2023-07-07 14:19 ` Markus Wichmann
2023-07-07 14:26 ` Markus Wichmann
2023-07-07 14:46 ` Alastair Houghton
2023-07-07 15:02 ` Andrew Bell
2023-07-07 15:19 ` Markus Wichmann
2023-07-07 15:24 ` Andrew Bell [this message]
2023-07-07 15:34 ` Alastair Houghton
2023-07-07 15:45 ` Rich Felker
2023-07-07 15:58 ` Alastair Houghton
2023-07-07 15:05 ` i262jq
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=CACJ51z1ZK43bXcvHyiByZWpD5kn1oCO-r0TfgspR6HUy3QsO9Q@mail.gmail.com \
--to=andrew.bell.ia@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).