INFO: No output directory specified (--dir) INFO: Using directory: "ILL_SALSA_20240617_143632" INFO: Regenerating c-file: ILL_SALSA.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o ILL_SALSA.c C:\\Users\\pkwi\\mcstas-test\\20240617_1415_53\\mcstas-3.4.49_singlecore_Windows\\ILL_SALSA\\ILL_SALSA.instr WARNING: The parameter format of Al_pow 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: Component Sample_environment is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Sample_environment -> GPU kernel from component stop ----------------------------------------------------------- Info: 'Al_window' is a contributed component. Info: 'Monochromator_bent' is a contributed component. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -I@MCCODE_LIB@/share/ -DFUNNEL DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: ILL_SALSA.exe DEBUG: CMD: gcc -o ILL_SALSA.exe ILL_SALSA.c -flto -O3 -mtune=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -IC:/mcstas-3.4.49/lib/share/ -DFUNNEL ILL_SALSA.c: In function 'mcuse_dir': ILL_SALSA.c:3819:8: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if(mkdir(dirname, 0777)) { ^ ILL_SALSA.c: In function 'sighandler': ILL_SALSA.c:5969:64: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] printf("\n# " MCCODE_STRING ": [pid %i] Signal %i detected", getpid(), sig); ^ ILL_SALSA.c: In function 'class_Monochromator_bent_init': ILL_SALSA.c:64189:42: warning: passing argument 1 of 'stringToEnum' from incompatible pointer type [-Wincompatible-pointer-types] enum crystal_plane plane = stringToEnum(&plane_of_reflection); ^ ILL_SALSA.c:8763:21: note: expected 'const char *' but argument is of type 'char (*)[16384]' enum crystal_plane stringToEnum(const char* plane) { ^ DEBUG: CMD: gcc finished INFO: ===