[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread Allin Cottrell
On Wed, 3 Mar 2021, atecon wrote: Am 03.03.2021 15:38 schrieb Allin Cottrell: That's right. "const" doesn't have any effect when placed in front of (non-pointerized) scalar arguments of any sort. Illustration: function void simple (const int N[2::]) printf "very simple (%d)\n", N # no er

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread atecon
Am 03.03.2021 15:38 schrieb Allin Cottrell: On Wed, 3 Mar 2021, Sven Schreiber wrote: Am 03.03.2021 um 13:31 schrieb atecon: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: Confirmed with a recent snapshot on Windows. That one looks pretty bad,

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread atecon
Am 03.03.2021 14:23 schrieb Allin Cottrell: On Wed, 3 Mar 2021, atecon wrote: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: clear set verbose off function void simple (const int N[2::]) print "very simple" end function simple(1) Ah, I thi

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread Allin Cottrell
On Wed, 3 Mar 2021, Sven Schreiber wrote: Am 03.03.2021 um 13:31 schrieb atecon: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: Confirmed with a recent snapshot on Windows. That one looks pretty bad, but... function void simple (const int N[2:

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread atecon
Am 03.03.2021 14:06 schrieb Sven Schreiber: Am 03.03.2021 um 13:31 schrieb atecon: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: Confirmed with a recent snapshot on Windows. That one looks pretty bad, but... Thanks for confirming this, Sven.

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread Allin Cottrell
On Wed, 3 Mar 2021, atecon wrote: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: clear set verbose off function void simple (const int N[2::]) print "very simple" end function simple(1) Ah, I think this was a newly introduced bug, specific

[Gretl-devel] Re: CRASH: passed integer value out-of bounds

2021-03-03 Thread Sven Schreiber
Am 03.03.2021 um 13:31 schrieb atecon: with latest git version under Ubuntu 18.04 I obtain a crash when running the following script: Confirmed with a recent snapshot on Windows. That one looks pretty bad, but... function void simple (const int N[2::]) ...it doesn't crash anymore for me whe