You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Function prototype counted as global variable.
Erroneous code
int (*grid(void))[8];
Additional infos norminette 3.3.55
Notice: GLOBAL_VAR_DETECTED (line: 15, col: 1): Global variable present in file. Make sure it is a reasonable choice.
Error: GLOBAL_VAR_NAMING (line: 15, col: 7): Global variable must start with g_
Additional context
This function throws no norminette or compiler errors, compiles properly and maintains the proper return type.
int (*grid(intagrid[5][8]))[8] {
// ... computation etcreturnagrid;
}
The text was updated successfully, but these errors were encountered:
Describe the bug
Function prototype counted as global variable.
Erroneous code
Additional infos
norminette 3.3.55
Additional context
This function throws no norminette or compiler errors, compiles properly and maintains the proper return type.
The text was updated successfully, but these errors were encountered: