INFO: No output directory specified (--dir) INFO: Using directory: "Test_Pol_Guide_Vmirror_20240617_150053" INFO: Regenerating c-file: Test_Pol_Guide_Vmirror.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o Test_Pol_Guide_Vmirror.c C:\\Users\\pkwi\\mcstas-test\\20240617_1415_53\\mcstas-3.4.49_singlecore_Windows\\Test_Pol_Guide_Vmirror\\Test_Pol_Guide_Vmirror.instr WARNING: The parameter rPar of POLguidevmirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rUpPar of POLguidevmirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rDownPar of POLguidevmirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rUpPar of POLguidemirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rDownPar of POLguidemirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter rPar of POLguidemirror is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- CFLAGS= DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: Test_Pol_Guide_Vmirror.exe DEBUG: CMD: gcc -o Test_Pol_Guide_Vmirror.exe Test_Pol_Guide_Vmirror.c -flto -O3 -mtune=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm Test_Pol_Guide_Vmirror.c: In function 'mcuse_dir': Test_Pol_Guide_Vmirror.c:3819:8: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if(mkdir(dirname, 0777)) { ^ Test_Pol_Guide_Vmirror.c: In function 'sighandler': Test_Pol_Guide_Vmirror.c:5969:64: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] printf("\n# " MCCODE_STRING ": [pid %i] Signal %i detected", getpid(), sig); ^ Test_Pol_Guide_Vmirror.c: In function 'class_Pol_guide_vmirror_init': Test_Pol_Guide_Vmirror.c:11555:16: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rPar (_comp->_parameters.rPar) ^ Test_Pol_Guide_Vmirror.c:11620:28: note: in expansion of macro 'rPar' if (Table_Read(&rParPtr, rPar, 1) <= 0) { ^ Test_Pol_Guide_Vmirror.c:7136:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ Test_Pol_Guide_Vmirror.c:11556:18: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rUpPar (_comp->_parameters.rUpPar) ^ Test_Pol_Guide_Vmirror.c:11625:30: note: in expansion of macro 'rUpPar' if (Table_Read(&rUpParPtr, rUpPar, 1) <= 0) { ^ Test_Pol_Guide_Vmirror.c:7136:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ Test_Pol_Guide_Vmirror.c:11557:20: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rDownPar (_comp->_parameters.rDownPar) ^ Test_Pol_Guide_Vmirror.c:11630:32: note: in expansion of macro 'rDownPar' if (Table_Read(&rDownParPtr, rDownPar, 1) <= 0) { ^ Test_Pol_Guide_Vmirror.c:7136:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ DEBUG: CMD: gcc finished INFO: ===