Re: [wsjt-devel] WSJT-X 2.6.0 Array Warnings

2023-01-09 Thread Joe Taylor via wsjt-devel

Jeff --

Program ft8sim is a stand-alone utility that is not part of WSJT-X.  It 
is never called recursively, or from multiple threads.


Have another cup of coffee and don't waste your time trying to resolve 
such a warning message.  Or, if you prefer, change the code to make such 
a useless message go away.


-- 73, Joe, K!JT

On 1/8/2023 12:20 PM, Jeff Stillinger via wsjt-devel wrote:

Greetings,

I have built WSJT-X 2.6.0 on LMDE 5 and have run across the array 
warnings in:


Building Fortran object CMakeFiles/ft8sim.dir/lib/ft8/ft8sim.f90.o

Warning: Array ‘cwave’ at (1) is larger than limit set by 
‘-fmax-stack-var-size=’, moved from stack to static storage. This makes 
the procedure unsafe when called recursively, or concurrently from 
multiple threads. Consider using ‘-frecursive’, or increase the 
‘-fmax-stack-var-size=’ limit, or change the code to use an ALLOCATABLE 
array. [-Wsurprising]


I will admit it's only my first cup of coffee this morning and I have 
not gotten too deeply into it.  Wondering if anyone has a optimal 
setting for the max-stack-var-size.  I would like to resolve the warning 
before I move it over to my Enterprise desktop.





___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


[wsjt-devel] WSJT-X 2.6.0 Array Warnings

2023-01-08 Thread Jeff Stillinger via wsjt-devel

Greetings,

I have built WSJT-X 2.6.0 on LMDE 5 and have run across the array 
warnings in:


Building Fortran object CMakeFiles/ft8sim.dir/lib/ft8/ft8sim.f90.o

Warning: Array ‘cwave’ at (1) is larger than limit set by 
‘-fmax-stack-var-size=’, moved from stack to static storage. This makes 
the procedure unsafe when called recursively, or concurrently from 
multiple threads. Consider using ‘-frecursive’, or increase the 
‘-fmax-stack-var-size=’ limit, or change the code to use an ALLOCATABLE 
array. [-Wsurprising]


I will admit it's only my first cup of coffee this morning and I have 
not gotten too deeply into it.  Wondering if anyone has a optimal 
setting for the max-stack-var-size.  I would like to resolve the warning 
before I move it over to my Enterprise desktop.


--
Jeff Stillinger - KB6IBB
KB6IBB Laboratories, Wylie Tx
http://kb6ibb-15.ham-radio-op.net/



___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel