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
In particular, this should be done at least for functions that accept char * strings but do not modify them. If a string literal (by definition a const char *) is passed into function argument that is declared a non-const char *, a compiler warning may be generated and the build will fail if compiled with strict settings.
This ticket will add "const" to function parameters where appropriate.
The text was updated successfully, but these errors were encountered:
In particular, this should be done at least for functions that accept char * strings but do not modify them. If a string literal (by definition a const char *) is passed into function argument that is declared a non-const char *, a compiler warning may be generated and the build will fail if compiled with strict settings.
This ticket will add "const" to function parameters where appropriate.
The text was updated successfully, but these errors were encountered: