[Bug 237949] print/libraqm: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 17 11:41:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237949

            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 at FreeBSD.org
          Reporter: pkubaj at FreeBSD.org
          Assignee: kwm at FreeBSD.org
             Flags: maintainer-feedback?(kwm at FreeBSD.org)

Created attachment 204427
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204427&action=edit
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.

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


More information about the freebsd-ports-bugs mailing list