Skip to content

Fix MSVC compile errors#5643

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
uextm:patch-1
Mar 8, 2024
Merged

Fix MSVC compile errors#5643
ggerganov merged 1 commit intoggml-org:masterfrom
uextm:patch-1

Conversation

@uextm
Copy link
Copy Markdown
Contributor

@uextm uextm commented Feb 21, 2024

MSVC gives the following error with the existing macros: Error C2059 : syntax error: ','

This patch adds ## as a prefix to __VA_ARGS__ to address this error.

MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
@uextm uextm closed this Mar 8, 2024
@uextm uextm deleted the patch-1 branch March 8, 2024 02:20
@uextm uextm restored the patch-1 branch March 8, 2024 02:24
@uextm uextm reopened this Mar 8, 2024
@ggerganov ggerganov merged commit 581ed5c into ggml-org:master Mar 8, 2024
@uextm uextm deleted the patch-1 branch March 8, 2024 14:52
hazelnutcloud pushed a commit to hazelnutcloud/llama.cpp that referenced this pull request Mar 10, 2024
MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
NeoZhangJianyu pushed a commit to NeoZhangJianyu/llama.cpp that referenced this pull request Mar 12, 2024
MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
MSVC gives the following error with the existing macros:
`Error C2059 : syntax error: ','`

This patch adds `##` as a prefix to `__VA_ARGS__` to address this error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants