From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William S Fulton Newsgroups: gmane.lisp.guile.bugs Subject: bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang Date: Mon, 13 Oct 2014 21:56:53 +0100 Message-ID: <543C3C95.5050502@fultondesigns.co.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413233914 4081 80.91.229.3 (13 Oct 2014 20:58:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2014 20:58:34 +0000 (UTC) To: 18711@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Oct 13 22:58:27 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XdmhG-00036a-D4 for guile-bugs@m.gmane.org; Mon, 13 Oct 2014 22:58:26 +0200 Original-Received: from localhost ([::1]:35374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdmhG-0004fC-4B for guile-bugs@m.gmane.org; Mon, 13 Oct 2014 16:58:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdmh2-0004ei-Rg for bug-guile@gnu.org; Mon, 13 Oct 2014 16:58:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdmgs-00085W-UG for bug-guile@gnu.org; Mon, 13 Oct 2014 16:58:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdmgs-00085I-QG for bug-guile@gnu.org; Mon, 13 Oct 2014 16:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xdmgs-0005qR-Ax for bug-guile@gnu.org; Mon, 13 Oct 2014 16:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: William S Fulton Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 13 Oct 2014 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18711 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141323385122404 (code B ref -1); Mon, 13 Oct 2014 20:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2014 20:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:42910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdmgL-0005pE-I1 for submit@debbugs.gnu.org; Mon, 13 Oct 2014 16:57:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38816) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XdmgH-0005p4-TH for submit@debbugs.gnu.org; Mon, 13 Oct 2014 16:57:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdmg7-0007JQ-OX for submit@debbugs.gnu.org; Mon, 13 Oct 2014 16:57:25 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdmg7-0007JK-Kv for submit@debbugs.gnu.org; Mon, 13 Oct 2014 16:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdmfz-0004Sz-OU for bug-guile@gnu.org; Mon, 13 Oct 2014 16:57:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xdmfr-00078Y-B5 for bug-guile@gnu.org; Mon, 13 Oct 2014 16:57:07 -0400 Original-Received: from mail-wi0-f173.google.com ([209.85.212.173]:35141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xdmfr-000775-1U for bug-guile@gnu.org; Mon, 13 Oct 2014 16:56:59 -0400 Original-Received: by mail-wi0-f173.google.com with SMTP id fb4so8447310wid.12 for ; Mon, 13 Oct 2014 13:56:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:message-id:date:from:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=TfHh7c4PXSkSH/7q4pzj+PIR4zdCCgBFXMoNX6HocPk=; b=b+hoNl9x0BZWCZcE9gfFmcyaJ7d8lXPUgx5g3QhcLZflLLG8tSDJQFxgtAxQGDj8Aa GwNf/JuyxwjSjUwJEQnziY0x6YjAAfSuUOlImnIN3GRwH/IrOS+WNJA9S/XCHw+JrjVI LZwdAoG5B2y+IQyUJH6Jwq0p6b4XwCF31kC5ZrmJGoYvp0PZxFMRBtp3CscExnjk48pU rVIEEi+xOqC97BFl8494mrWg+7SOJQ4tUF+ixUFJscZ7R8OVKQRNqPatqTIfKoEUf42i LoxDC/wrnhu3Z74aOBO1/r6wdtkcJ+JQDKhJSQerTmGblaWlbQa1Fqnr7ekiD30WJ/Qn dqgA== X-Gm-Message-State: ALoCoQlXSmoPxCp/8pb6ETMXmV5kHaJJPCmyW6tlW4vAtGMfe7j96LzhbFe1W37XdchIORbZ6UFp X-Received: by 10.180.211.226 with SMTP id nf2mr1248588wic.61.1413233817147; Mon, 13 Oct 2014 13:56:57 -0700 (PDT) Original-Received: from [192.168.42.254] (genkt-056-005.t-mobile.co.uk. [149.254.56.5]) by mx.google.com with ESMTPSA id ua8sm17908740wjc.7.2014.10.13.13.56.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Oct 2014 13:56:56 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7610 Archived-At: 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:411:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:413:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:418:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:420:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:424:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(2) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:487:46: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] /* 'realloc' attr */ GC_ATTR_ALLOC_SIZE(2); ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:742:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:744:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:757:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:759:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:764:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:766:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:773:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:776:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:778:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:781:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:787:46: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] /* 'realloc' attr */ GC_ATTR_ALLOC_SIZE(2); ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:804:23: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 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 file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/threads.h:36: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/pthread-threads.h:33: In file included from /usr/local/Cellar/guile/2.0.11_1/include/guile/2.0/libguile/bdw-gc.h:47: /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc.h:806:29: warning: unknown attribute '__alloc_size__' ignored [-Wattributes] GC_API /* 'realloc' attr */ GC_ATTR_ALLOC_SIZE(2) void * GC_CALL ^ /usr/local/Cellar/bdw-gc/7.4.2/include/gc/gc_config_macros.h:249:54: note: expanded from macro 'GC_ATTR_ALLOC_SIZE' # define GC_ATTR_ALLOC_SIZE(argnum) __attribute__((__alloc_size__(argnum))) ^ 19 warnings generated. System information: $ guile --version | head -n 1 guile (GNU Guile) 2.0.11 $ clang --version Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix $ xcodebuild -version -sdk | head -n 2 MacOSX10.9.sdk - OS X 10.9 (macosx10.9) SDKVersion: 10.9 $ sw_vers ProductName: Mac OS X ProductVersion: 10.9.5 BuildVersion: 13F34 $ uname -a Darwin itako16071.miso 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64