Skip to content

fix: fix -Wvla-parameter#32

Draft
e-kwsm wants to merge 1 commit intomcodev31:masterfrom
e-kwsm:vla-parameter
Draft

fix: fix -Wvla-parameter#32
e-kwsm wants to merge 1 commit intomcodev31:masterfrom
e-kwsm:vla-parameter

Conversation

@e-kwsm
Copy link

@e-kwsm e-kwsm commented Nov 10, 2023

No description provided.

@mcodev31
Copy link
Owner

Hi Eisuke,

It will take me some time to go though all your requests (they generally look good, I just rarely have the time), but this caught my eye since I know a few projects that use c++ compilers w/o vla support, and this looks to me like it would not compile? I'm not currently on a computer where I can check, but the header files need to be c++ compatible.

@e-kwsm
Copy link
Author

e-kwsm commented Nov 21, 2023

Thank you for your review.
I tried a small snippet and found that g++ 12.2.0 does not support VLA for parameter.

@e-kwsm e-kwsm marked this pull request as draft November 21, 2023 08:02
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.

2 participants