[1/4] Building CXX object examples/llava/CMakeFiles/llava-cli.dir/llava-cli.cpp.obj FAILED: examples/llava/CMakeFiles/llava-cli.dir/llava-cli.cpp.obj ccache C:\PROGRA~1\AMD\ROCm\5.7\bin\CLANG_~1.EXE -DGGML_CUDA_DMMV_X=512 -DGGML_CUDA_FORCE_DMMV -DGGML_CUDA_MMV_Y=32 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DGGML_USE_HIPBLAS -DK_QUANTS_PER_ITERATION=2 -D_CRT_SECURE_NO_WARNINGS -D_XOPEN_SOURCE=600 -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -IW:/git/llama.cpp/examples -IW:/git/llama.cpp/common/. -IW:/git/llama.cpp/. -IW:/git/llama.cpp/examples/llava/. -IW:/git/llama.cpp/examples/llava/../.. -IW:/git/llama.cpp/examples/llava/../../common -isystem "C:/Program Files/AMD/ROCm/5.7/include" -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -std=gnu++14 -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -march=native -MD -MT examples/llava/CMakeFiles/llava-cli.dir/llava-cli.cpp.obj -MF examples\llava\CMakeFiles\llava-cli.dir\llava-cli.cpp.obj.d -o examples/llava/CMakeFiles/llava-cli.dir/llava-cli.cpp.obj -c W:/git/llama.cpp/examples/llava/llava-cli.cpp In file included from W:/git/llama.cpp/examples/llava/llava-cli.cpp:2: W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:467:5: error: expected ')' LOG("01 Hello World to nobody, because logs are disabled!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:467:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:50: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:469:5: error: expected ')' LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET)); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:469:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:470:5: error: expected ')' LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n"); ^ W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:470:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:472:5: error: expected ')' LOG("04 Hello World to stderr!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:472:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:473:5: error: expected ')' LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n"); ^ W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:473:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:475:5: error: expected ')' LOG("06 Hello World to default log file!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:475:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:477:5: error: expected ')' LOG("07 Hello World to stdout!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:477:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:479:5: error: expected ')' LOG("08 Hello World to default log file again!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:479:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:481:5: error: expected ')' LOG("09 Hello World _1_ into the void!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:481:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:483:5: error: expected ')' LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:483:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:486:5: error: expected ')' LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:486:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:488:5: error: expected ')' LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:488:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:490:5: error: expected ')' LOG("13 Hello World this time in yet new file?\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:490:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:492:5: error: expected ')' LOG("14 Hello World in log with generated filename!\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:492:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:494:5: error: expected ')' LOG_TEE("15 Hello msvc TEE without arguments\n"); ^ W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:494:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:314:58: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:495:5: error: expected ')' LOG_TEE("16 Hello msvc TEE with (%d)(%s) arguments\n", 1, "test"); ^ W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:495:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:323:58: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:496:5: error: expected ')' LOG_TEELN("17 Hello msvc TEELN without arguments\n"); ^ W:/git/llama.cpp/common/.\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:496:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:323:60: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:497:5: error: expected ')' LOG_TEELN("18 Hello msvc TEELN with (%d)(%s) arguments\n", 1, "test"); ^ W:/git/llama.cpp/common/.\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:497:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/common/.\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:498:5: error: expected ')' LOG("19 Hello msvc LOG without arguments\n"); ^ W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:498:5: note: to match this '(' W:/git/llama.cpp/common/.\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/common/.\log.h:300:50: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/common/.\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 46 warnings and 20 errors generated. [2/4] Building CXX object examples/llava/CMakeFiles/llava.dir/clip.cpp.obj FAILED: examples/llava/CMakeFiles/llava.dir/clip.cpp.obj ccache C:\PROGRA~1\AMD\ROCm\5.7\bin\CLANG_~1.EXE -DGGML_CUDA_DMMV_X=512 -DGGML_CUDA_FORCE_DMMV -DGGML_CUDA_MMV_Y=32 -DGGML_SCHED_MAX_COPIES=4 -DGGML_USE_CUDA -DGGML_USE_HIPBLAS -DK_QUANTS_PER_ITERATION=2 -D_CRT_SECURE_NO_WARNINGS -D_XOPEN_SOURCE=600 -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -IW:/git/llama.cpp/examples -IW:/git/llama.cpp/examples/llava/. -IW:/git/llama.cpp/examples/llava/../.. -IW:/git/llama.cpp/examples/llava/../../common -IW:/git/llama.cpp/. -isystem "C:/Program Files/AMD/ROCm/5.7/include" -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -std=gnu++14 -Wmissing-declarations -Wmissing-noreturn -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wunreachable-code-break -Wunreachable-code-return -Wmissing-prototypes -Wextra-semi -march=native -Wno-cast-qual -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -x hip --offload-arch=gfx1100 -MD -MT examples/llava/CMakeFiles/llava.dir/clip.cpp.obj -MF examples\llava\CMakeFiles\llava.dir\clip.cpp.obj.d -o examples/llava/CMakeFiles/llava.dir/clip.cpp.obj -c W:/git/llama.cpp/examples/llava/clip.cpp In file included from W:/git/llama.cpp/examples/llava/clip.cpp:6: W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:467:5: error: expected ')' LOG("01 Hello World to nobody, because logs are disabled!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:467:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:50: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:469:5: error: expected ')' LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET)); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:469:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:470:5: error: expected ')' LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:470:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:472:5: error: expected ')' LOG("04 Hello World to stderr!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:472:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:473:5: error: expected ')' LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:473:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:475:5: error: expected ')' LOG("06 Hello World to default log file!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:475:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:477:5: error: expected ')' LOG("07 Hello World to stdout!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:477:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:479:5: error: expected ')' LOG("08 Hello World to default log file again!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:479:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:481:5: error: expected ')' LOG("09 Hello World _1_ into the void!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:481:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:483:5: error: expected ')' LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:483:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:486:5: error: expected ')' LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:486:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:488:5: error: expected ')' LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:488:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:490:5: error: expected ')' LOG("13 Hello World this time in yet new file?\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:490:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:492:5: error: expected ')' LOG("14 Hello World in log with generated filename!\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:492:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:56: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:494:5: error: expected ')' LOG_TEE("15 Hello msvc TEE without arguments\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:494:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:58: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:495:5: error: expected ')' LOG_TEE("16 Hello msvc TEE with (%d)(%s) arguments\n", 1, "test"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:495:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:314:31: note: expanded from macro 'LOG_TEE' #define LOG_TEE(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:323:58: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:496:5: error: expected ')' LOG_TEELN("17 Hello msvc TEELN without arguments\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:496:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:323:60: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:284:126: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TEE_TARGET, LOG_TEE_TIMESTAMP_FMT LOG_TEE_FLF_FMT str "%s" LOG_TEE_TIMESTAMP_VAL LOG_TEE_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:497:5: error: expected ')' LOG_TEELN("18 Hello msvc TEELN with (%d)(%s) arguments\n", 1, "test"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:102: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:497:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:323:33: note: expanded from macro 'LOG_TEELN' #define LOG_TEELN(str, ...) LOG_TEE_IMPL("%s" str, "", ##__VA_ARGS__, "\n") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:279:20: note: expanded from macro 'LOG_TEE_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:48: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:498:5: error: expected ')' LOG("19 Hello msvc LOG without arguments\n"); ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:102: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:498:5: note: to match this '(' W:/git/llama.cpp/examples/llava/../../common\log.h:300:27: note: expanded from macro 'LOG' #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:20: note: expanded from macro 'LOG_IMPL' fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ W:/git/llama.cpp/examples/llava/../../common\log.h:300:50: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] #define LOG(str, ...) LOG_IMPL("%s" str, "", ##__VA_ARGS__, "") ^ W:/git/llama.cpp/examples/llava/../../common\log.h:251:106: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL "", ##__VA_ARGS__); \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 46 warnings and 20 errors generated when compiling for gfx1100. ninja: build stopped: subcommand failed.