Skip to content

Resolve variable length array warnings when compiling with Clang#480

Open
ERSUCC wants to merge 1 commit intothestk:masterfrom
ERSUCC:master
Open

Resolve variable length array warnings when compiling with Clang#480
ERSUCC wants to merge 1 commit intothestk:masterfrom
ERSUCC:master

Conversation

@ERSUCC
Copy link
Copy Markdown
Contributor

@ERSUCC ERSUCC commented Apr 3, 2026

When compiling RtAudio on Mac with Clang, it threw a few warnings about arrays being allocated with variable length. Converting these stack arrays to heap arrays with malloc resolved the warnings.

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.

1 participant