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

Functions with empty (non-void) parameter list #87

Open
ForNeVeR opened this issue Jan 23, 2022 · 0 comments
Open

Functions with empty (non-void) parameter list #87

ForNeVeR opened this issue Jan 23, 2022 · 0 comments
Labels
area:compiler Related to code compilation or type checking area:standard-support Related to the C standard support kind:feature New feature or request status:help-wanted Open for contributors

Comments

@ForNeVeR
Copy link
Owner

ForNeVeR commented Jan 23, 2022

Functions defined in this way has special meaning in C:

void foo() { }

This isn't the same as void foo(void) {} (which is a canonical empty parameter list).

Cesium should support those according to the standard. Currently, we treat them the same as the functions with (void) parameter list.

See possible // TODO[#87] in the code if you're looking to add this support.

@ForNeVeR ForNeVeR added kind:feature New feature or request status:help-wanted Open for contributors area:standard-support Related to the C standard support area:compiler Related to code compilation or type checking labels Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:compiler Related to code compilation or type checking area:standard-support Related to the C standard support kind:feature New feature or request status:help-wanted Open for contributors
Projects
None yet
Development

No branches or pull requests

1 participant