[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtasn1-4.9 ctype issue
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: libtasn1-4.9 ctype issue |
Date: |
Mon, 16 Jan 2017 19:33:31 +0100 |
On Mon, 2017-01-16 at 02:24 +0100, Thomas Klausner wrote:
> Hi!
>
> Compilation of libtasn1 on NetBSD fails with the default setting of
> -Werror because of:
>
> ASN1.y: In function '_asn1_yylex':
> ASN1.y:578:9: error: array subscript has type 'char' [-Werror=char-
> subscripts]
> if (!isdigit (string[k]))
> ^
>
> NetBSD is pickier with ctype macros than most other operating
> systems.
Hi,
I do not see the issue. 'k' is defined as integer. If it is an issue
with the netbsd compiler please provide a patch to address it.
regards,
Nikos