asn1c runtime code as shared library
Go to file
Oliver Smith adaa1c62e1 INTEGER: ignore invalid -Warray-bounds from GCC-10
GCC 10.2.1 20210110 from Debian 11 generates an invalid Warray-bounds
error. It was fixed in future GCC versions, I verified it with GCC
11.3.0. Ignore the warning, so we can build on Debian 11 with -Werror.

Fix for:
  INTEGER.c: In function ‘asn_int642INTEGER’:
  INTEGER.c:1340:34: error: array subscript 0 is outside array bounds of ‘int64_t[1]’ {aka ‘long int[1]’} [-Werror=array-bounds]
   1340 |  for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
        |                            ~~~~~~^~~~~~
  INTEGER.c:1296:42: note: while referencing ‘value’
   1296 | asn_int642INTEGER(INTEGER_t *st, int64_t value) {
        |                                  ~~~~~~~~^~~~~

Related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582
Change-Id: Ic10407e6d484ae29dc39edbdc6fcd0145e17e773
2023-03-21 15:24:37 +00:00
contrib contrib/jenkins: Enable parallel make in make distcheck 2020-10-12 19:23:15 +02:00
debian debian/control: replace, conflict: osmo-libasn1c 2023-02-08 16:11:32 +01:00
include Fix compiler warning 2017-10-27 22:05:13 +02:00
m4 add dummy 'm4/.dummy' file to make autoreconf happy 2010-07-09 15:46:03 +02:00
src INTEGER: ignore invalid -Warray-bounds from GCC-10 2023-03-21 15:24:37 +00:00
.gitignore contrib: integrate RPM spec 2020-05-19 15:21:17 +02:00
.gitreview add .gitreview to support git review plugin 2017-08-08 13:56:42 +02:00
COPYING add COPYING with original licenes 2010-06-12 19:24:52 +02:00
Makefile.am build: Support make release target 2018-05-03 17:15:26 +02:00
asn1c-talloc.patch update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
configure.ac configure.ac: fix libtool issue with clang and sanitizer 2022-05-23 23:57:56 +02:00
git-version-gen configure.ac: Use git-version-gen to set VERSION 2018-05-03 18:21:05 +02:00
libasn1c.pc.in link libasn1c against libmath, don't ask users to do it 2017-10-28 13:58:23 +02:00