I did start this thread as me "hacking NanoVNA " software.
I am not sure if it is OK to continue in that direction.
For one, long threads are not mu favorite, however some administrators object to "re-posts".
I have cloned NanoVNA-H and run "make" in my local repository.
I run into same error as with previous "NanoVNA".
The error is fixable by using "make" recommended solution, no problem there.
What is puzzling is - as a "copy" of some original NanoVNA software, why does NanoVNA-H still objects to the
"missing C11" options in compiler options? What is so different with fft.h file? ( I have not look at the actual file , not yet.)
Actually how do other "software developers" deal with this ?
Here is a snippet of "make" output:
fft.h: In function 'reverse_bits':
fft.h:31:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; i++, x >>= 1)
^
fft.h:31:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code