diff options
author | Lijian.Zhang <Lijian.Zhang@arm.com> | 2018-12-03 22:45:41 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-12-14 13:26:46 +0000 |
commit | ac475f4bf4d10ae603f57a406ef607f0de840328 (patch) | |
tree | 65ef9c750a3e548bb0877fccfeba26333849c325 /src/plugins/nat/nat_det.c | |
parent | 41b923a175a95ad61f2f7e0fc44727f78d8ec29e (diff) |
Fix compiling issue with GCC-8.x in string test functions
Same pointer is passed to two or more restrict-qualified parameters of a function.
vpp/src/plugins/unittest/string_test.c: In function ‘test_strcpy_s’:
vpp/src/plugins/unittest/string_test.c:562:19: error: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Werror=restrict]
err = strcpy_s (dst, s1size, dst);
^~~ ~~~
Change-Id: Ica06b457bbcbf2d552eec380976c37f9fd447b1c
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Reviewed-by: Sirshak Das <sirdas@arm.com>
Diffstat (limited to 'src/plugins/nat/nat_det.c')
0 files changed, 0 insertions, 0 deletions