Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Felson's Law: To steal ideas from one person is plagiarism; to steal from many is research.


devel / comp.lang.c / Re: Baby X resource compiler release candidate

SubjectAuthor
* Baby X resource compiler release candidateMalcolm McLean
+* Re: Baby X resource compiler release candidateBen Bacarisse
|`* Re: Baby X resource compiler release candidateMalcolm McLean
| `* Re: Baby X resource compiler release candidateBen Bacarisse
|  `- Re: Baby X resource compiler release candidateMalcolm McLean
`* Re: Baby X resource compiler release candidateTim Rentsch
 `* Re: Baby X resource compiler release candidateMalcolm McLean
  `- Re: Baby X resource compiler release candidateKaz Kylheku

1
Baby X resource compiler release candidate

<0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27197&group=comp.lang.c#27197

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:b32:b0:63d:f3:a7f0 with SMTP id w18-20020a0562140b3200b0063d00f3a7f0mr38683qvj.9.1691478639864;
Tue, 08 Aug 2023 00:10:39 -0700 (PDT)
X-Received: by 2002:a05:6870:3308:b0:1be:d373:4cd with SMTP id
x8-20020a056870330800b001bed37304cdmr17056819oae.5.1691478639509; Tue, 08 Aug
2023 00:10:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Aug 2023 00:10:39 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:e563:bd83:d916:c2b9;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:e563:bd83:d916:c2b9
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
Subject: Baby X resource compiler release candidate
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Tue, 08 Aug 2023 07:10:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2690
 by: Malcolm McLean - Tue, 8 Aug 2023 07:10 UTC

For those who don't follow this group regularly, Baby X is a miniature toolkit for X11 and Windows, and the Baby X resource compiler is the resource compiler for it. It outputs C source.

The last of the bugs reported by Ben has been fixed. The only problem remaining is that the MP3 decoder allocates global tables for pre-calculated results on first call, and never frees them. I decided to leave this behaviour in instead of mess with the code.

I've decided that version 1.2 will concentrate on the needs of Baby X programmers. I believe that the resource compiler is used by non-Baby X programmers, but it's hard to be sure as few people get back to me. But trying to make it more generally useful opens up a whole host of problems. So it's generally useful as a side effect, not as the main purpose of the program.

Features are frozen for v1.2, but I'm happy to consider suggestions for v1.3. Bug reports are of course vital at this stage. A very late bug manifested only on Windows. It was

(all values long)
Nout = (long) ((Nchannels * Nsamples * resamplerate + 1204.0)/samplerate);

The wiggle room was also meant to cast the expression to a double. resamplerate and samplerate are typically 44100 or so. Nsamples is samplerate * duration in seconds, so it can go very high. The expression is not cast to a double, and on Windows long is only 32 bits, and it overflows.

But now we have a release candidate for v1.2.
Any more bug reports very welcome.

The project is hosted at
https://github.com/MalcolmMcLean/babyxrc

Re: Baby X resource compiler release candidate

<87pm3xh66n.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27248&group=comp.lang.c#27248

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Baby X resource compiler release candidate
Date: Tue, 08 Aug 2023 17:04:00 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <87pm3xh66n.fsf@bsb.me.uk>
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="945523f5e3d1954d075c7466baf93133";
logging-data="3648762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1892eL9IyS1UJcCwIxO6YJFrg4/KKaaOfI="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:lcOa14y09OG4EnmydZ9sxFRm7ac=
sha1:EnVPrSozl27laGKmKvJ3r+Fjgs8=
X-BSB-Auth: 1.b95b8c22d9f9f2301a3e.20230808170400BST.87pm3xh66n.fsf@bsb.me.uk
 by: Ben Bacarisse - Tue, 8 Aug 2023 16:04 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> Any more bug reports very welcome.
>
> The project is hosted at
> https://github.com/MalcolmMcLean/babyxrc

I get compile errors again (the same ones) using cmake and make. That
was fixed a few days ago but it's back. I replaced the tree (in case
cmake it breaking things) and went to the src directory and tried the
direct compile command. Same result.

Also, these instructions

There is a CMake script. So if you have CMake, make a directory called
"build", navigate to it, then type

cmake ..
make

make no sense to me. Where (and why) must I have this directory called
"build"? cmake .. must be run where .. contains the right files.

What I did (when trying cmake) was untar the files, cd to the resulting
directory (babyxrc-1.1), and typed "cmake .; make".

--
Ben.

Re: Baby X resource compiler release candidate

<8583d222-942d-4ad7-85c5-14d5bc22c81bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27253&group=comp.lang.c#27253

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ad4:590d:0:b0:63d:30b8:ff8b with SMTP id ez13-20020ad4590d000000b0063d30b8ff8bmr49611qvb.13.1691511690554;
Tue, 08 Aug 2023 09:21:30 -0700 (PDT)
X-Received: by 2002:a9d:7543:0:b0:6bc:ac3d:2b77 with SMTP id
b3-20020a9d7543000000b006bcac3d2b77mr136864otl.2.1691511690352; Tue, 08 Aug
2023 09:21:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Aug 2023 09:21:30 -0700 (PDT)
In-Reply-To: <87pm3xh66n.fsf@bsb.me.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:3061:372d:59ca:e7b2;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:3061:372d:59ca:e7b2
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com> <87pm3xh66n.fsf@bsb.me.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8583d222-942d-4ad7-85c5-14d5bc22c81bn@googlegroups.com>
Subject: Re: Baby X resource compiler release candidate
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Tue, 08 Aug 2023 16:21:30 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2999
 by: Malcolm McLean - Tue, 8 Aug 2023 16:21 UTC

On Tuesday, 8 August 2023 at 17:04:16 UTC+1, Ben Bacarisse wrote:
> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>
> > Any more bug reports very welcome.
> >
> > The project is hosted at
> > https://github.com/MalcolmMcLean/babyxrc
> I get compile errors again (the same ones) using cmake and make. That
> was fixed a few days ago but it's back. I replaced the tree (in case
> cmake it breaking things) and went to the src directory and tried the
> direct compile command. Same result.
>
> Also, these instructions
>
> There is a CMake script. So if you have CMake, make a directory called
> "build", navigate to it, then type
>
> cmake ..
> make
>
> make no sense to me. Where (and why) must I have this directory called
> "build"? cmake .. must be run where .. contains the right files.
>
There's a .gitignore file which ignores "build". So if you want the CMake
products under the babyxrc root directory, which you probably do, and
you use the name "build", git won't pester you to add the CMkae products
to the repository.
>
> What I did (when trying cmake) was untar the files, cd to the resulting
> directory (babyxrc-1.1), and typed "cmake .; make".
>
I think what you've done is tried to compile release 1.1 It was a mistake
to make this release, but I wanted to get Sourceforge integration working,
and you need a release to pass to the system. But it was premature.

The release candidate for version 1.2 is at the head node of "master".
But there isn't a v1.2 yet. That onyl happens after the release candidate
is accepted and is no longer a candidate. I think it's bug free, which is why
it's a candidate. But the build instructions could maybe be a little clearer,
and that's just as serious as a bug in the code itself.

Re: Baby X resource compiler release candidate

<87jzu5h1jo.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27265&group=comp.lang.c#27265

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Baby X resource compiler release candidate
Date: Tue, 08 Aug 2023 18:44:11 +0100
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <87jzu5h1jo.fsf@bsb.me.uk>
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
<87pm3xh66n.fsf@bsb.me.uk>
<8583d222-942d-4ad7-85c5-14d5bc22c81bn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="945523f5e3d1954d075c7466baf93133";
logging-data="3678952"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lR104YTx8/FQxjsxONM0kLTRa+EoSMVc="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:Vfz3Bw1KwzGXUY8oeCQi80684uo=
sha1:11YPYhaoAHjvB3jCUP4bxC+OHGU=
X-BSB-Auth: 1.280f8245ccdb1066ac97.20230808184411BST.87jzu5h1jo.fsf@bsb.me.uk
 by: Ben Bacarisse - Tue, 8 Aug 2023 17:44 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> On Tuesday, 8 August 2023 at 17:04:16 UTC+1, Ben Bacarisse wrote:
>> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>>
>> > Any more bug reports very welcome.
>> >
>> > The project is hosted at
>> > https://github.com/MalcolmMcLean/babyxrc
>> I get compile errors again (the same ones) using cmake and make. That
>> was fixed a few days ago but it's back. I replaced the tree (in case
>> cmake it breaking things) and went to the src directory and tried the
>> direct compile command. Same result.
>>
>> Also, these instructions
>>
>> There is a CMake script. So if you have CMake, make a directory called
>> "build", navigate to it, then type
>>
>> cmake ..
>> make
>>
>> make no sense to me. Where (and why) must I have this directory called
>> "build"? cmake .. must be run where .. contains the right files.
>>
> There's a .gitignore file which ignores "build". So if you want the CMake
> products under the babyxrc root directory, which you probably do, and
> you use the name "build", git won't pester you to add the CMkae products
> to the repository.

Since I extracted from a tarball, I don't care about git. But OK, I
see the purpose.

>> What I did (when trying cmake) was untar the files, cd to the resulting
>> directory (babyxrc-1.1), and typed "cmake .; make".
>>
> I think what you've done is tried to compile release 1.1

Yes. You said you were working on 1.2. It made sense to me to compile
a release, not something you were working on which does not appear to be
ready yet. We were at cross purposes.

--
Ben.

Re: Baby X resource compiler release candidate

<ca2ba5a4-c5a3-450a-979f-574f84f30e2cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27269&group=comp.lang.c#27269

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:389:b0:40f:df11:8c07 with SMTP id j9-20020a05622a038900b0040fdf118c07mr3839qtx.1.1691517682637;
Tue, 08 Aug 2023 11:01:22 -0700 (PDT)
X-Received: by 2002:a05:6870:7711:b0:1bf:52d2:aea2 with SMTP id
dw17-20020a056870771100b001bf52d2aea2mr151303oab.0.1691517682181; Tue, 08 Aug
2023 11:01:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Aug 2023 11:01:21 -0700 (PDT)
In-Reply-To: <87jzu5h1jo.fsf@bsb.me.uk>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:3061:372d:59ca:e7b2;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:3061:372d:59ca:e7b2
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
<87pm3xh66n.fsf@bsb.me.uk> <8583d222-942d-4ad7-85c5-14d5bc22c81bn@googlegroups.com>
<87jzu5h1jo.fsf@bsb.me.uk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ca2ba5a4-c5a3-450a-979f-574f84f30e2cn@googlegroups.com>
Subject: Re: Baby X resource compiler release candidate
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Tue, 08 Aug 2023 18:01:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3925
 by: Malcolm McLean - Tue, 8 Aug 2023 18:01 UTC

On Tuesday, 8 August 2023 at 18:44:28 UTC+1, Ben Bacarisse wrote:
> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>
> > On Tuesday, 8 August 2023 at 17:04:16 UTC+1, Ben Bacarisse wrote:
> >> Malcolm McLean <malcolm.ar...@gmail.com> writes:
> >>
> >> > Any more bug reports very welcome.
> >> >
> >> > The project is hosted at
> >> > https://github.com/MalcolmMcLean/babyxrc
> >> I get compile errors again (the same ones) using cmake and make. That
> >> was fixed a few days ago but it's back. I replaced the tree (in case
> >> cmake it breaking things) and went to the src directory and tried the
> >> direct compile command. Same result.
> >>
> >> Also, these instructions
> >>
> >> There is a CMake script. So if you have CMake, make a directory called
> >> "build", navigate to it, then type
> >>
> >> cmake ..
> >> make
> >>
> >> make no sense to me. Where (and why) must I have this directory called
> >> "build"? cmake .. must be run where .. contains the right files.
> >>
> > There's a .gitignore file which ignores "build". So if you want the CMake
> > products under the babyxrc root directory, which you probably do, and
> > you use the name "build", git won't pester you to add the CMkae products
> > to the repository.
> Since I extracted from a tarball, I don't care about git. But OK, I
> see the purpose.
> >> What I did (when trying cmake) was untar the files, cd to the resulting
> >> directory (babyxrc-1.1), and typed "cmake .; make".
> >>
> > I think what you've done is tried to compile release 1.1
> Yes. You said you were working on 1.2. It made sense to me to compile
> a release, not something you were working on which does not appear to be
> ready yet. We were at cross purposes.
>
In a better world, the release v1.1 should compile and work. In fact it only works
well on the Mac. It should have been far better tested earlier, but I needed something
to give to Sourceforge to get Sourceforge / git integration working. But it was
a mistake to release v1.1 prematurely. v1.2 is the fix.

Its currently a release candidate. A problem is that the resource compiler by its
nature is difficult to test. You can see that it is spitting out C source without
falling over, but the source also has to represent the data correctly. I've made
a start with a little test program to test the fonts.
The other problem is that the output files are so large that I don't like putting
them on github. If the resource compiler catches on then someone will have
to take a decison whether output files or script files shall be archived.

Re: Baby X resource compiler release candidate

<861qgdb9zj.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27275&group=comp.lang.c#27275

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: Baby X resource compiler release candidate
Date: Tue, 08 Aug 2023 12:38:24 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <861qgdb9zj.fsf@linuxsc.com>
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="996336b78d58b8cbe9ae682ecb3e6882";
logging-data="3710684"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Oyp9+6T5e2HLDAxhW8ZBHEjW0/DMODI0="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:6QtZxxEImkV3N7kLPE3yaKNXmBg=
sha1:x3coxo5qQQSiQzqAsPXUZDCzC5E=
 by: Tim Rentsch - Tue, 8 Aug 2023 19:38 UTC

Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> But now we have a release candidate for v1.2.
> Any more bug reports very welcome.
>
> The project is hosted at
> https://github.com/MalcolmMcLean/babyxrc

The file README.md says "the code is all clean portable ANSI C".

The files in the src directory aren't even close to conforming
to ANSI C (aka C90) rules.

Almost all of the source compiles cleanly under C99 rules.

However, one file -- loadimage.c -- needs C11 features to
compile it. The problems originate in the header nanosvg.h,
around lines 124 and 363 (anonymous unions, introduced in C11).

Re: Baby X resource compiler release candidate

<214163d0-57c6-41ec-b63a-549f958d6909n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27330&group=comp.lang.c#27330

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a37:5a41:0:b0:76c:ff36:495a with SMTP id o62-20020a375a41000000b0076cff36495amr50723qkb.2.1691585735928;
Wed, 09 Aug 2023 05:55:35 -0700 (PDT)
X-Received: by 2002:a63:7702:0:b0:564:9d36:f3e7 with SMTP id
s2-20020a637702000000b005649d36f3e7mr155772pgc.0.1691585735576; Wed, 09 Aug
2023 05:55:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 9 Aug 2023 05:55:35 -0700 (PDT)
In-Reply-To: <861qgdb9zj.fsf@linuxsc.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:e56b:26d4:2c8f:8f29;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:e56b:26d4:2c8f:8f29
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com> <861qgdb9zj.fsf@linuxsc.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <214163d0-57c6-41ec-b63a-549f958d6909n@googlegroups.com>
Subject: Re: Baby X resource compiler release candidate
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Wed, 09 Aug 2023 12:55:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1969
 by: Malcolm McLean - Wed, 9 Aug 2023 12:55 UTC

On Tuesday, 8 August 2023 at 20:38:39 UTC+1, Tim Rentsch wrote:
> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>
> > But now we have a release candidate for v1.2.
> > Any more bug reports very welcome.
> >
> > The project is hosted at
> > https://github.com/MalcolmMcLean/babyxrc
> The file README.md says "the code is all clean portable ANSI C".
>
> The files in the src directory aren't even close to conforming
> to ANSI C (aka C90) rules.
>
> Almost all of the source compiles cleanly under C99 rules.
>
> However, one file -- loadimage.c -- needs C11 features to
> compile it. The problems originate in the header nanosvg.h,
> around lines 124 and 363 (anonymous unions, introduced in C11).
>
That's worth addressing to support C99.

Re: Baby X resource compiler release candidate

<20230809080347.611@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=27343&group=comp.lang.c#27343

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED.s010614aedbccc4a9.vc.shawcable.net!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Baby X resource compiler release candidate
Date: Wed, 9 Aug 2023 15:05:13 -0000 (UTC)
Organization: A noiseless patient Spider
Message-ID: <20230809080347.611@kylheku.com>
References: <0b8a2095-8817-41cf-8ae8-d07a731eb82fn@googlegroups.com>
<861qgdb9zj.fsf@linuxsc.com>
<214163d0-57c6-41ec-b63a-549f958d6909n@googlegroups.com>
Injection-Date: Wed, 9 Aug 2023 15:05:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="s010614aedbccc4a9.vc.shawcable.net:70.79.182.7";
logging-data="4191084"; mail-complaints-to="abuse@eternal-september.org"
User-Agent: slrn/1.0.3 (Linux)
 by: Kaz Kylheku - Wed, 9 Aug 2023 15:05 UTC

On 2023-08-09, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
> On Tuesday, 8 August 2023 at 20:38:39 UTC+1, Tim Rentsch wrote:
>> Malcolm McLean <malcolm.ar...@gmail.com> writes:
>>
>> > But now we have a release candidate for v1.2.
>> > Any more bug reports very welcome.
>> >
>> > The project is hosted at
>> > https://github.com/MalcolmMcLean/babyxrc
>> The file README.md says "the code is all clean portable ANSI C".
>>
>> The files in the src directory aren't even close to conforming
>> to ANSI C (aka C90) rules.
>>
>> Almost all of the source compiles cleanly under C99 rules.
>>
>> However, one file -- loadimage.c -- needs C11 features to
>> compile it. The problems originate in the header nanosvg.h,
>> around lines 124 and 363 (anonymous unions, introduced in C11).
>>
> That's worth addressing to support C99.

That still abandons the project goal of remaining in ANSI C.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor