bug#18711: Re[2]: [Gc] bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-16 Thread Ivan Maidanski
Hi William, I merged the fix to master: https://github.com/ivmai/bdwgc/commit/b725923951d77f5c6792c2797f89179267c58c9c Regards, Ivan Tue, 14 Oct 2014 08:10:45 +0100 from William S Fulton : >Thanks for analysing and pointing in the right direction Mark. With this >info I found >https://gith

bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-15 Thread Mark H Weaver
William S Fulton writes: > Thanks for analysing and pointing in the right direction Mark. With > this info I found > https://github.com/ivmai/bdwgc/commit/8fc1f3b61b02320848b035d59e04e77d3f6b#diff-b3f85dde7694cbd1268ea9ed20db1b1aR244 > which looks like it fixes it in the next release of bdwgc

bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-14 Thread Ludovic Courtès
Mark H Weaver skribis: > This is clearly an issue with bdwgc on clang, and possibly only on > Apple's version of clang. Here's the relevant section of > gc/gc_config_macros.h from bdwgc 7.4.2: > > #ifndef GC_ATTR_ALLOC_SIZE > /* 'alloc_size' attribute improves __builtin_object_size correctness

bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-14 Thread William S Fulton
Thanks for analysing and pointing in the right direction Mark. With this info I found https://github.com/ivmai/bdwgc/commit/8fc1f3b61b02320848b035d59e04e77d3f6b#diff-b3f85dde7694cbd1268ea9ed20db1b1aR244 which looks like it fixes it in the next release of bdwgc (7.5). Unfortunately this war

bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-13 Thread Mark H Weaver
[Forwarding this bug report to bd...@lists.opendylan.org] William S Fulton writes: > A simple > > #include > > generates the numerous warnings given below: > > > In file included from example_wrap.c:702: > In file included from > /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile.h:37

bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

2014-10-13 Thread William S Fulton
A simple #include generates the numerous warnings given below: In file included from example_wrap.c:702: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile.h:37: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/async.h:28: In