And out of sheer magic (at least to my eyes) a Pd app appears from nothing to me...
What do you mean? Did "make app" not work for you before?

The issue I'm having might be related to casting float to int
Yes, I think so too. https://github.com/pure-data/pure-data/issues/927 shows -2147483647 for a large line number input, which is typical result of signed integer overflow being undefined behavior. BUT the code of [text insert] has the following line

lineno = (x->x_f1 > (double)0x7fffffff ? 0x7fffffff : x->x_f1);

which is supposed to prevent the overflow issue... So to be honest, I have to no idea what's going on... Let's continue the discussion on the GitHub issue.

Christof

On 29.05.2020 02:47, Alexandre Torres Porres wrote:
Hi, now that Pd 0.51-0-test1 is out I can confirm I'm compiling Pd wrong.

I've been using the yet to be 51 since december and opened two issues on github thinking the problem was 0.51, but it happens only when I compile Pd. For reference, the issues are:
https://github.com/pure-data/pure-data/issues/848
- and https://github.com/pure-data/pure-data/issues/927

The issue I'm having might be related to casting float to int but I wouldn't know how I could fix this by compiling Pd in a different way. Maybe more details are on the issues above, please check them.

I'm just doing what I've been doing in order to compile Pd for a few years now, I do:

./autogen.sh 

./configure
make

make app



And out of sheer magic (at least to my eyes) a Pd app appears from nothing to me...


cheers


_______________________________________________
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev