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: "Focal_pt_monitor_20240301_105009" INFO: Regenerating c-file: Focal_pt_monitor.c DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace -t -o Focal_pt_monitor.c C:\\Users\\pkwi\\mctest\\20240301_1047_43\\3.4.24_Windows\\Focal_pt_monitor\\Focal_pt_monitor.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: C:\install_mcstas\miniconda3\bin\mcxtrace finished INFO: Recompiling: Focal_pt_monitor.exe DEBUG: CMD: cl.exe -o Focal_pt_monitor.exe Focal_pt_monitor.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' Focal_pt_monitor.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 Focal_pt_monitor.c(2178): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Focal_pt_monitor.c(2178): note: consider using '%zi' in the format string Focal_pt_monitor.c(5748): warning C4477: 'printf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'void *' Focal_pt_monitor.c(5748): warning C4313: 'printf': '%i' in format string conflicts with argument 1 of type 'void *' Focal_pt_monitor.c(7180): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Focal_pt_monitor.c(7180): note: consider using '%zi' in the format string Focal_pt_monitor.c(7778): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Focal_pt_monitor.c(7778): note: consider using '%zi' in the format string Focal_pt_monitor.c(7803): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 1 has type 'size_t' Focal_pt_monitor.c(7803): note: consider using '%zi' in the format string Focal_pt_monitor.c(8821): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Focal_pt_monitor.c(8821): note: consider using '%zi' in the format string Focal_pt_monitor.c(8836): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Focal_pt_monitor.c(8836): note: consider using '%zi' in the format string Focal_pt_monitor.c(8843): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 4 has type 'size_t' Focal_pt_monitor.c(8843): note: consider using '%zi' in the format string Focal_pt_monitor.c(8858): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' Focal_pt_monitor.c(8858): note: consider using '%zi' in the format string Focal_pt_monitor.c(8865): warning C4477: 'fprintf' : format string '%li' requires an argument of type 'long', but variadic argument 4 has type 'size_t' Focal_pt_monitor.c(8865): note: consider using '%zi' in the format string Focal_pt_monitor.c(8973): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 3 has type 'size_t' Focal_pt_monitor.c(8973): note: consider using '%zi' in the format string Focal_pt_monitor.c(9607): warning C4477: 'printf' : format string '%li' requires an argument of type 'long', but variadic argument 2 has type 'size_t' Focal_pt_monitor.c(9607): note: consider using '%zi' in the format string Focal_pt_monitor.c(12059): 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' Focal_pt_monitor.c(12060): 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:Focal_pt_monitor.exe /out:Focal_pt_monitor.exe /debug Focal_pt_monitor.obj DEBUG: CMD: cl.exe finished INFO: ===