WARNING: Full-path compiler "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" not found!! WARNING: Attempting replacement by "cl.exe" INFO: No output directory specified (--dir) INFO: Using directory: "Test_PowderN_20240301_105153" INFO: Regenerating c-file: Test_PowderN.c DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace -t -o Test_PowderN.c C:\\Users\\pkwi\\mctest\\20240301_1047_43\\3.4.24_Windows\\Test_PowderN\\Test_PowderN.instr CFLAGS= WARNING: The parameter format of 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. WARNING: The parameter mat_format of 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. 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. WARNING: The parameter surf_dir 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 sample_cradle ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sample_cradle ----------------------------------------------------------- DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace finished INFO: Recompiling: Test_PowderN.exe DEBUG: CMD: cl.exe -o Test_PowderN.exe Test_PowderN.c -lm /Zi /O2 /Ob1 /DNDEBUG /DWIN32 /D_WINDOWS /std:c11 Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30153 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release cl : Command line warning D9002 : ignoring unknown option '-lm' Test_PowderN.c C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winbase.h(9531): warning C5105: macro expansion producing 'defined' has undefined behavior Test_PowderN.c(2171): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_PowderN.c(2171): note: consider using '%zi' in the format string Test_PowderN.c(5741): warning C4477: 'printf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'void *' Test_PowderN.c(5741): warning C4313: 'printf': '%i' in format string conflicts with argument 1 of type 'void *' Test_PowderN.c(7200): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_PowderN.c(7200): note: consider using '%zi' in the format string Test_PowderN.c(7798): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_PowderN.c(7798): note: consider using '%zi' in the format string Test_PowderN.c(7823): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Test_PowderN.c(7823): note: consider using '%zi' in the format string Test_PowderN.c(9530): warning C4090: 'return': different 'const' qualifiers Test_PowderN.c(9539): warning C4090: 'return': different 'const' qualifiers Test_PowderN.c(9542): warning C4090: 'return': different 'const' qualifiers Test_PowderN.c(11615): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Test_PowderN.c(11615): note: consider using '%zi' in the format string Test_PowderN.c(11630): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Test_PowderN.c(11630): note: consider using '%zi' in the format string Test_PowderN.c(11637): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 4 has type 'size_t' Test_PowderN.c(11637): note: consider using '%zi' in the format string Test_PowderN.c(11652): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' Test_PowderN.c(11652): note: consider using '%zi' in the format string Test_PowderN.c(11659): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 4 has type 'size_t' Test_PowderN.c(11659): note: consider using '%zi' in the format string Test_PowderN.c(11767): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' Test_PowderN.c(11767): note: consider using '%zi' in the format string Test_PowderN.c(12401): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Test_PowderN.c(12401): note: consider using '%zi' in the format string Test_PowderN.c(14222): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int' Test_PowderN.c(14222): warning C4313: 'printf': '%s' in format string conflicts with argument 1 of type 'int' Test_PowderN.c(14231): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'int' Test_PowderN.c(14231): warning C4313: 'printf': '%s' in format string conflicts with argument 1 of type 'int' Test_PowderN.c(14231): warning C4477: 'printf' : format string '%i' requires an argument of type 'int', but variadic argument 2 has type 'char *' Test_PowderN.c(14231): warning C4313: 'printf': '%i' in format string conflicts with argument 2 of type 'char *' Test_PowderN.c(14242): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'double' Test_PowderN.c(14242): warning C4477: 'printf' : format string '%g' requires an argument of type 'double', but variadic argument 3 has type 'char *' Test_PowderN.c(14248): warning C4477: 'printf' : format string '%s' requires an argument of type 'char *', but variadic argument 1 has type 'double' Test_PowderN.c(14455): warning C4005: 'min': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stdlib.h(1283): note: see previous definition of 'min' Test_PowderN.c(14456): warning C4005: 'max': macro redefinition C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt\stdlib.h(1282): note: see previous definition of 'max' Microsoft (R) Incremental Linker Version 14.29.30153.0 Copyright (C) Microsoft Corporation. All rights reserved. /out:Test_PowderN.exe /out:Test_PowderN.exe /debug Test_PowderN.obj DEBUG: CMD: cl.exe finished INFO: ===