INFO: No output directory specified (--dir) INFO: Using directory: "Test_SX_20241011_190906" INFO: Regenerating c-file: Test_SX.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Test_SX.c Test_SX.instr CFLAGS= WARNING: The parameter mosaic_AB of SX 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: -> SPLIT N at component SX ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component SX ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./Test_SX.out DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/arm64-apple-darwin20.0.0-clang -o ./Test_SX.out ./Test_SX.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1727875387353/work=/usr/local/src/conda/mcstas-core-3.5.2 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -D_DARWIN_C_SOURCE -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Test_SX.c:10556:38: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 10556 | if(!ext || ext == infile) return infile; | ^~~~~~ ./Test_SX.c:10565:41: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 10565 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./Test_SX.c:10568:26: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 10568 | if (!OUTFILE) return infile; | ^~~~~~ ./Test_SX.c:14416:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14416 | if ((( Type == 1 ))) // conditional WHEN execution | ~~~~~^~~~ ./Test_SX.c:14416:19: note: remove extraneous parentheses around the comparison to silence this warning 14416 | if ((( Type == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:14416:19: note: use '=' to turn this equality comparison into an assignment 14416 | if ((( Type == 1 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:14503:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14503 | if ((( Type == 3 ))) // conditional WHEN execution | ~~~~~^~~~ ./Test_SX.c:14503:19: note: remove extraneous parentheses around the comparison to silence this warning 14503 | if ((( Type == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:14503:19: note: use '=' to turn this equality comparison into an assignment 14503 | if ((( Type == 3 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:14525:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14525 | if ((( Type == 2 ))) // conditional WHEN execution | ~~~~~^~~~ ./Test_SX.c:14525:19: note: remove extraneous parentheses around the comparison to silence this warning 14525 | if ((( Type == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:14525:19: note: use '=' to turn this equality comparison into an assignment 14525 | if ((( Type == 2 ))) // conditional WHEN execution | ^~ | = 6 warnings generated. DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/arm64-apple-darwin20.0.0-clang finished INFO: ===