Skip to content
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

Сannot use keywords as the variable name! #296

Open
sevstels opened this issue Mar 26, 2023 · 2 comments
Open

Сannot use keywords as the variable name! #296

sevstels opened this issue Mar 26, 2023 · 2 comments

Comments

@sevstels
Copy link

errfs

@sevstels
Copy link
Author

Error: argument of type "void *" is incompatible with parameter of type "spiffs_t *" spiffs_nucleus.c 287

@robertlipe
Copy link

I'm not involved in the project, but your report is invalid.

This is a C file. delete is not a keyword in C. You appear to be compiling this code in C++. That's between you and your build system. If one wishes to name variables or functions in C as 'new', 'delete', 'operator', 'namespace', 'override', 'consteval' or other tokens that are keywords in C++ but aren't in C, that's totally legal. Doing that when building in C++ is, of course, prohibited.

I'd suggest closing this. The project is clearly abandoned, and your request is not really (strictly) an issue in code. It's in your build system. FWIW, LittleFS is usually a drop-in replacement, and it's actively maintained. Migration of installed systems is, of course, a pain.

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

No branches or pull requests

2 participants