[MacPorts] #49590: boehmgc @ 7.4 patch commit that fixes alloc_size warnings

MacPorts noreply at macports.org
Wed Nov 4 15:18:12 PST 2015


#49590: boehmgc @ 7.4 patch commit that fixes alloc_size warnings
------------------------------+--------------------------------
 Reporter:  papojt@…          |      Owner:  macports-tickets@…
     Type:  enhancement       |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.3.4
 Keywords:  alloc_size clang  |       Port:  boehmgc
------------------------------+--------------------------------
 I would like to propose patching a commit in master branch of boehmgc into
 the port:

 https://github.com/ivmai/bdwgc/commit/b725923951d77f5c6792c2797f89179267c58c9c

 This commit will fix the following warning message:

 {{{
 /opt/local/include/gc/gc.h:804:23: warning: unknown attribute
 '__alloc_size__'
      ignored [-Wunknown-attributes]
 GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL
 }}}

 where it appears because newer versions of clang has no longer supported
 {{{alloc_size}}} attribute. These warning messages have unnecessarily
 contaminated my debugging environment, with almost 100 appearances in one
 compiling session. I would greatly appreciate that the mentioned commit is
 patched into the official boehmgc port.

 I am using Xcode 7.1 on OS X El Capitan, with Apple LLVM version 7.0.0
 (clang-700.1.76).

-- 
Ticket URL: <https://trac.macports.org/ticket/49590>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list