Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2019 11:41:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237949] print/libraqm: fix build with GCC-based architectures
Message-ID:  <bug-237949-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237949

            Bug ID: 237949
           Summary: print/libraqm: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
          Assignee: kwm@FreeBSD.org
             Flags: maintainer-feedback?(kwm@FreeBSD.org)

Created attachment 204427
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204427&action=
=3Dedit
patch

Don't shadow global variable index:
cc1: warnings being treated as errors
raqm.c: In function '_raqm_u32_to_u8_index':
raqm.c:1602: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:62: warning: shadowed declaration is here
raqm.c: In function '_raqm_u8_to_u32_index':
raqm.c:1619: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:62: warning: shadowed declaration is here
raqm.c: In function 'raqm_index_to_position':
raqm.c:1658: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:62: warning: shadowed declaration is here
raqm.c: In function 'raqm_position_to_index':
raqm.c:1752: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:62: warning: shadowed declaration is here


Fails to build with base GCC.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237949-7788>