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
I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.
Describe the bug
While building with -Werror=sizeof-pointer-memaccess flag the compiler complains about "error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination?"
To Reproduce
Steps to reproduce the behavior:
Add -Werror=sizeof-pointer-memaccess flag to compiler
Checklist (Please check before submitting)
Describe the bug
While building with -Werror=sizeof-pointer-memaccess flag the compiler complains about "error: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination?"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors
Code snips
DS/fsw/src/ds_file.c
Line 886 in ce98853
System observed on:
Additional context
N/A
Reporter Info
Claudio Olmi - NASA/METECS
The text was updated successfully, but these errors were encountered: