INFO: No output directory specified (--dir) INFO: Using directory: "Test_Monochromator_bent_20240617_145648" INFO: Regenerating c-file: Test_Monochromator_bent.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o Test_Monochromator_bent.c C:\\Users\\pkwi\\mcstas-test\\20240617_1415_53\\mcstas-3.4.49_singlecore_Windows\\Test_Monochromator_bent\\Test_Monochromator_bent.instr ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- Info: 'Monochromator_bent' is a contributed component. CFLAGS= DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: Test_Monochromator_bent.exe DEBUG: CMD: gcc -o Test_Monochromator_bent.exe Test_Monochromator_bent.c -flto -O3 -mtune=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm Test_Monochromator_bent.c: In function 'mcuse_dir': Test_Monochromator_bent.c:3819:8: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if(mkdir(dirname, 0777)) { ^ Test_Monochromator_bent.c: In function 'sighandler': Test_Monochromator_bent.c:5969:64: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] printf("\n# " MCCODE_STRING ": [pid %i] Signal %i detected", getpid(), sig); ^ Test_Monochromator_bent.c: In function 'class_Monochromator_bent_init': Test_Monochromator_bent.c:9847:42: warning: passing argument 1 of 'stringToEnum' from incompatible pointer type [-Wincompatible-pointer-types] enum crystal_plane plane = stringToEnum(&plane_of_reflection); ^ Test_Monochromator_bent.c:8236:21: note: expected 'const char *' but argument is of type 'char (*)[16384]' enum crystal_plane stringToEnum(const char* plane) { ^ DEBUG: CMD: gcc finished INFO: ===