Skip to content

macos.mm: incorrect function name (fileContent vs fileContents) #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
barracuda156 opened this issue Apr 29, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@barracuda156
Copy link

Describe the bug
After some adjustments to compiler macos.mm on 10.6, I got the error that fileContent is not declared.
It is used here

static std::vector<std::string> fileContent() {
and below, only in this file.

This seems to be a genuine bug unrelated to macOS version, since included header declares fileContents instead:

std::optional<std::string> fileContents(const fs::path& path);

To Reproduce
Well, run the build.

Expected behavior
This error should not happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version
0.10.0, but the same issue seems to exist in the current main branch.

@barracuda156 barracuda156 added the bug Something isn't working label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant