Skip to content
Commit ac29323d authored by Manojkiran Eda's avatar Manojkiran Eda Committed by ManojKiran Eda
Browse files

Suppress : Stringop Overflow warning during build time



- gcc complains about the following warning during a build
  and as -Werror is enforced, it is treated as an error which
  is resulting in a build failure.

- error: ‘strncpy’ specified bound depends on the length of
  the source argument [-Werror=stringop-overflow=]

- There are couple of workarounds that were discussed in this
  commit, but at the moment we thought the best option to move
  forward is to suppress the warning until we know a concrete
  solution for this problem. Once we fix it , we can enforce the
  warning again.

Tested By:
- bmcweb compiled without any warning or error.

Signed-off-by: default avatarManojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I36c595ab610523c8d50833cab0fdd20c509a8a2a
parent 93f5d7c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment