INFO: No output directory specified (--dir) INFO: Using directory: "Laue_camera_20241011_190839" INFO: Regenerating c-file: Laue_camera.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Laue_camera.c Laue_camera.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -DFUNNEL WARNING: The parameter mosaic_AB of YBaCuO_single_crystal 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 test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component det ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./Laue_camera.out DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/arm64-apple-darwin20.0.0-clang -o ./Laue_camera.out ./Laue_camera.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 -DFUNNEL ./Laue_camera.c:19170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 19170 | }; | ^ ./Laue_camera.c:28276:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 28276 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./Laue_camera.c:28276:35: note: remove extraneous parentheses around the comparison to silence this warning 28276 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Laue_camera.c:28276:35: note: use '=' to turn this equality comparison into an assignment 28276 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ^~ | = ./Laue_camera.c:28319:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 28319 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./Laue_camera.c:28319:35: note: remove extraneous parentheses around the comparison to silence this warning 28319 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Laue_camera.c:28319:35: note: use '=' to turn this equality comparison into an assignment 28319 | if ((( scattered_flag_instr == 1 ))) // conditional WHEN execution | ^~ | = ./Laue_camera.c:28341:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 28341 | if ((( scattered_flag_instr == 0 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./Laue_camera.c:28341:35: note: remove extraneous parentheses around the comparison to silence this warning 28341 | if ((( scattered_flag_instr == 0 ))) // conditional WHEN execution | ~ ^ ~ ./Laue_camera.c:28341:35: note: use '=' to turn this equality comparison into an assignment 28341 | if ((( scattered_flag_instr == 0 ))) // conditional WHEN execution | ^~ | = 4 warnings generated. DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/arm64-apple-darwin20.0.0-clang finished INFO: ===