Opened 9 years ago
Closed 9 years ago
#49590 closed enhancement (fixed)
boehmgc @ 7.4 patch commit that fixes alloc_size warnings
Reported by: | papojt@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | su-v |
Port: | boehmgc |
Description
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).
Change History (4)
comment:1 Changed 9 years ago by papojt@…
Cc: | papojt@… added |
---|
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | papojt@… removed |
---|---|
Keywords: | haspatch added; alloc_size clang removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Ok, thanks for the suggestion.
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!