Skip to content

Fix to_string with GLM_FORCE_INLINE on GCC - #1456

Open
quesswho wants to merge 1 commit into
g-truc:masterfrom
quesswho:fix/inline-variadic-to-string
Open

Fix to_string with GLM_FORCE_INLINE on GCC#1456
quesswho wants to merge 1 commit into
g-truc:masterfrom
quesswho:fix/inline-variadic-to-string

Conversation

@quesswho

Copy link
Copy Markdown

Fixes #1455

GLM_FORCE_INLINE makes GLM_FUNC_QUALIFIER expand to an always_inline attribute, which GCC rejects on variadic functions.

Add GLM_FUNC_QUALIFIER_VARARG, which keeps the CUDA qualifier and adds an inline.

Fixes g-truc#1455

GLM_FORCE_INLINE makes GLM_FUNC_QUALIFIER expand to an always_inline
attribute, which GCC rejects on variadic functions.

Add GLM_FUNC_QUALIFIER_VARARG, which keeps the CUDA qualifier and adds
an inline.
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.

glm::to_string can't be used with GCC when GLM_FORCE_INLINE is enabled

1 participant