[Toybox] vfork() deprecated on macOS

2022-05-11 Thread enh via Toybox
the toybox build is pretty noisy on a current mac, complaining that vfork() should be replaced by fork() or posix_spawn(). looks like it's because they've changed vfork() to just be fork() and would like people to accept that they understand that by changing their source to say fork() instead...

Re: [Toybox] Android .config pondering.

2022-05-11 Thread enh via Toybox
On Wed, May 11, 2022 at 7:16 AM Rob Landley wrote: > > On 5/10/22 12:04, enh wrote: > > right now i think the "can't bootstrap without an existing toybox > > binary" is the worst mac problem. (i think there's already a thread > > about how your sed skills are too much for BSD sed...) > > It has a

Re: [Toybox] __attribute__((__noreturn__)) vs _Noreturn

2022-05-11 Thread Ivo van Poorten
On Wed, 11 May 2022 09:04:01 -0700 enh via Toybox wrote: > there's plenty of C++ in the GNU stuff these days; that's orthogonal. Yes. gcc cannot compile itself anymore without g++. chibicc looks promising. https://github.com/rui314/chibicc A book and all. But so did pcc (haven't heard much

Re: [Toybox] __attribute__((__noreturn__)) vs _Noreturn

2022-05-11 Thread enh via Toybox
On Wed, May 11, 2022 at 8:40 AM Rob Landley wrote: > > On 5/10/22 17:08, enh wrote: > > attached two separate patches; one to move, the other to take > > advantage of the move. > > I'm reluctant to specify --std= because I've never had to before. When I > started > using c99 I didn't have to

Re: [Toybox] __attribute__((__noreturn__)) vs _Noreturn

2022-05-11 Thread enh via Toybox
On Wed, May 11, 2022 at 7:32 AM Rob Landley wrote: > > On 5/10/22 13:00, enh wrote: > > On Tue, May 10, 2022 at 10:44 AM Rob Landley wrote: > >> > >> On 5/9/22 18:54, enh via Toybox wrote: > >> > i think this question already came up recently, but mainly as a joke > >> > before ... "how do you

Re: [Toybox] __attribute__((__noreturn__)) vs _Noreturn

2022-05-11 Thread Rob Landley
On 5/10/22 17:08, enh wrote: > attached two separate patches; one to move, the other to take > advantage of the move. I'm reluctant to specify --std= because I've never had to before. When I started using c99 I didn't have to specify --std=c99, and we've leaked c11 features into the thing already

Re: [Toybox] __attribute__((__noreturn__)) vs _Noreturn

2022-05-11 Thread Rob Landley
On 5/10/22 13:00, enh wrote: > On Tue, May 10, 2022 at 10:44 AM Rob Landley wrote: >> >> On 5/9/22 18:54, enh via Toybox wrote: >> > i think this question already came up recently, but mainly as a joke >> > before ... "how do you feel about C11?" >> >> It's comfortably past the 7 year support

Re: [Toybox] Android .config pondering.

2022-05-11 Thread Rob Landley
On 5/10/22 12:04, enh wrote: > right now i think the "can't bootstrap without an existing toybox > binary" is the worst mac problem. (i think there's already a thread > about how your sed skills are too much for BSD sed...) It has a SED= environment variable so you can point it at gsed on mac,