summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm29118.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-12-15 21:51:07 +0100
committerHarald Welte <laforge@osmocom.org>2019-12-15 21:56:39 +0100
commit7d0fe2ae6f9892faac0fc4374573869e6edf325e (patch)
treeebbc01304dae758c39e2fe67bbe7bc10558a4a82 /include/osmocom/gsm/gsm29118.h
parenta47d37c94684ba688a6eec06d0346ee13b03aad4 (diff)
gprs_bssgp: Work around gcc-9 claiming "error=stringop-overflow"
gcc-9.2.1 issues the following errror when compiling with -Werror: In function ‘tl16v_put’, inlined from ‘tvlv_put’ at ../../include/osmocom/gsm/tlv.h:156:9, inlined from ‘tvlv_put’ at ../../include/osmocom/gsm/tlv.h:147:24, inlined from ‘msgb_tvlv_put’ at ../../include/osmocom/gsm/tlv.h:223:9, inlined from ‘bssgp_tx_paging’ at gprs_bssgp.c:1250:2: ../../include/osmocom/gsm/tlv.h:131:2: error: ‘memcpy’ reading between 128 and 65535 bytes from a region of size 9 [-Werror=stringop-overflow=] 131 | memcpy(buf, val, len); | ^~~~~~~~~~~~~~~~~~~~~ Unfortunately I've not been able to work around it with some nice GCC #pragma GCC diagnostic ignored "-Wstringop-overflow" Change-Id: I22a0c399c6c00eaf87277002096a82844c9e198e
Diffstat (limited to 'include/osmocom/gsm/gsm29118.h')
0 files changed, 0 insertions, 0 deletions