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

Global constants considered as global variables #516

Open
JonathanDUFOUR opened this issue Oct 21, 2024 · 0 comments
Open

Global constants considered as global variables #516

JonathanDUFOUR opened this issue Oct 21, 2024 · 0 comments

Comments

@JonathanDUFOUR
Copy link

Describe the bug
The norminette makes no difference between global constants and variables, leading to erroneous Notice messages.
Indeed, as their name suggests, variables are not constants, and vice versa.

Erroneous code

static int const g_not_a_variable = 42;

Additional infos
norminette 3.3.55

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

1 participant