Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2020 15:31:14 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: print/libraqm failed in 
Message-ID:  <D2CDC949-EA60-46CD-8395-281AB98603FE@FreeBSD.org>
In-Reply-To: <202004110235.03B2ZVLH004098@kx.truefc.org>
References:  <202004110235.03B2ZVLH004098@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_E9A45903-64E2-4AF6-8A33-601A10F09D80
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 11 Apr 2020, at 04:35, KIRIYAMA Kazuhiko <kiri@truefc.org> wrote:
>=20
> print/libraqm failed to build:
...
> raqm.c:1934:24: error: overlapping comparisons always evaluate to true =
[-Werror,-Wtautological-overlap-compare]
>      if (ch !=3D 0x102B || ch !=3D 0x102C || ch !=3D 0x1038 ||
>          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1937:25: error: overlapping comparisons always evaluate to =
false [-Werror,-Wtautological-overlap-compare]
>          (ch <=3D 0x109A && ch >=3D 0x109C) || ch !=3D 0x1A61 || ch !=3D=
 0x1A63 ||
>           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1936:41: error: overlapping comparisons always evaluate to =
false [-Werror,-Wtautological-overlap-compare]
>          ch !=3D 0x1083 || (ch <=3D 0x1087 && ch >=3D 0x108C) || ch !=3D=
 0x108F ||
>                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1935:59: error: overlapping comparisons always evaluate to =
false [-Werror,-Wtautological-overlap-compare]
>          (ch <=3D 0x1062 && ch >=3D 0x1064) || (ch <=3D 0x1067 && ch =
>=3D 0x106D) ||
>                                             =
~~~~~~~~~~~~~^~~~~~~~~~~~~~~
> raqm.c:1935:25: error: overlapping comparisons always evaluate to =
false [-Werror,-Wtautological-overlap-compare]
>          (ch <=3D 0x1062 && ch >=3D 0x1064) || (ch <=3D 0x1067 && ch =
>=3D 0x106D) ||
>           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~

See:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244401
https://github.com/HOST-Oman/libraqm/issues/115

and finally:

https://svnweb.freebsd.org/changeset/ports/530379

Author: zeising
Date: Thu Apr  2 15:05:52 UTC 2020
New revision: 530379

Log:
  print/libraqm: FIx build with llvm 10

  Fix the build of print/libraqm with llvm 10.

  PR:		244401
  Submitted by:	dim
  Approved by:	maintainer timeout
  MFH:		2020Q2

Changes:
  head/print/libraqm/files/patch-src_raqm.c

-Dimitry


--Apple-Mail=_E9A45903-64E2-4AF6-8A33-601A10F09D80
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXpHGogAKCRCwXqMKLiCW
owA/AJ9UkcBDfMi7EjYJHAdQojmgptZuUwCfYwO3qWdYzCE/pZ48fAKH/MAOeew=
=GsoR
-----END PGP SIGNATURE-----

--Apple-Mail=_E9A45903-64E2-4AF6-8A33-601A10F09D80--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D2CDC949-EA60-46CD-8395-281AB98603FE>