Skip to content

Update main.cpp#110

Open
awirth-mps wants to merge 1 commit into
rockchip-linux:masterfrom
awirth-mps:patch-2
Open

Update main.cpp#110
awirth-mps wants to merge 1 commit into
rockchip-linux:masterfrom
awirth-mps:patch-2

Conversation

@awirth-mps

Copy link
Copy Markdown

Added const qualifier to nSectorSize declaration to resolve compilation issues related to lack of support for variable-length arrays on some systems.

Added const qualifier to nSectorSize declaration to resolve compilation issues related to lack of support for variable-length arrays on some systems.
@ahadjeres

Copy link
Copy Markdown

had a same issue this should be merged !

@Staars

Staars commented May 25, 2025

Copy link
Copy Markdown

Same here on macOS 15.5.
Please merge.

@jjm2473

jjm2473 commented Aug 21, 2025

Copy link
Copy Markdown

在macOS 15.6上也有这问题,加上const解决。搞不懂为啥nSectorSize要作为变量,都没任何地方修改它,就是固定的512

@briantopping

Copy link
Copy Markdown

Worked for me as well. Please merge!

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.

5 participants