Re: CRUNCH feedback

Diogo via Chicken-users <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
On Wed, Aug 13, 2025 at 05:06:34PM +0200, Felix Winkelmann wrote:
> "chicken-crunch -libs" will give you the full path to the file and required
> libraries (-lm in this case).

Great!

> Inline functions can not refer to static data, I already tried this before.
> Moreover, -Wall mostly alerts about stylistic options in my experience and
> makes no sense for machine generated code. I recommend you move hand-written
> code into a separate compilation unit and you can use then any option you
> like.

I see. Do you have any warning flag that you consider useful for the
machine generated code?

> I have implemented this and added guards to the relevant sections
> in crunch.h. I may have missed some interdependencies, but it seemd to work
> fine for the testcases I have.

I have installed the version from trunk and it worked with no changes to the
crunch.h file! The only trick I had to do was to define an empty fmemopen
function. All other issues I had before are gone. Super nice!

Thank you.

Cheers,
--
Diogo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.