4.9.2 FTBS on debian Testing with gcc 11.2.0
For the record, gmsh 4.9.2 FTBS on debian Testing with latest gcc compiler:
/build/gmsh-4.9.2+ds1/tutorial/c/t2.c: In function 'main':
/build/gmsh-4.9.2+ds1/tutorial/c/t2.c:175:23: warning: ISO C forbids empty initializer braces [-Wpedantic]
175 | int numElements[] = {};
| ^
/build/gmsh-4.9.2+ds1/tutorial/c/t2.c:175:7: error: zero or negative size array 'numElements'
175 | int numElements[] = {};
| ^~~~~~~~~~~
/build/gmsh-4.9.2+ds1/tutorial/c/t2.c:176:22: warning: ISO C forbids empty initializer braces [-Wpedantic]
176 | double heights[] = {};
| ^
/build/gmsh-4.9.2+ds1/tutorial/c/t2.c:176:10: error: zero or negative size array 'heights'
176 | double heights[] = {};
| ^~~~~~~
make[4]: *** [CMakeFiles/t2_c.dir/build.make:79: CMakeFiles/t2_c.dir/tutorial/c/t2.c.o] Error 1
Best, C
PS: Happy new year to all the gmsh team