Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81129 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95556 invoked from network); 25 Jan 2015 16:17:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2015 16:17:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.192.179 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 209.85.192.179 mail-pd0-f179.google.com Received: from [209.85.192.179] ([209.85.192.179:57422] helo=mail-pd0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/88-36889-42715C45 for ; Sun, 25 Jan 2015 11:17:42 -0500 Received: by mail-pd0-f179.google.com with SMTP id v10so7406464pde.10 for ; Sun, 25 Jan 2015 08:17:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=VS7WcEtE+V+BjhOlog1b0/qFU/qJ2TpOPn31Eu1jYG8=; b=mZFvxJmYTxVGIHj5wSZp6nLsDZH8HQRigdNpP1VIUQK84vW9ttbArWeMbMRM+FyC++ 7iu5yOIzsozk0M3hklz+I9Oa67DxTXbtHAR6Nc6M2eLQVUaUbA9ePPusnTF93WSU82nR o7MPIn1ff0MEwtG002hzATrev6QoaK7Bfsge9W+dP9dMwQJUqTi1V5XgBh3Dv13C8G7c 3f601M//wILXt6lwaSq6J/6A55D4NGojkrNhRhP5coCStuVwVIvdHTZ5LYlZUR7Hbt4Z B9CKoDhaVx0tymxXI1GZcrqOJ5peRWCf/tXg+oNnpZwb0SVhk5h5PJZS44wbkQOfeT7d X30Q== X-Gm-Message-State: ALoCoQkbVlBVqccXNufVF0rqbGz1PslOcX/roSvPq2KnOY0iQZqjT2hTsBu6brC3vTeOTncGtBBC3y/R2+AIVPwniuIS5CGviZfDG+QHhtE+iaaAGrpdd1faiyS5/Y/jomdPKcmEC11iBGzAQ/Jkeb7c3clwhFJzWQ== X-Received: by 10.68.201.201 with SMTP id kc9mr27843093pbc.79.1422202657140; Sun, 25 Jan 2015 08:17:37 -0800 (PST) Received: from [192.168.2.129] (107-137-69-239.lightspeed.sntcca.sbcglobal.net. [107.137.69.239]) by mx.google.com with ESMTPSA id zs8sm7689656pac.9.2015.01.25.08.17.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 Jan 2015 08:17:36 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (12B440) In-Reply-To: <54C4A206.8090808@php.net> Date: Sun, 25 Jan 2015 08:17:36 -0800 Cc: "internals@lists.php.net" Content-Transfer-Encoding: 7bit Message-ID: References: <54C4A206.8090808@php.net> To: Sebastian Bergmann Subject: Re: [PHP-DEV] Warnings in zend_alloc.h From: andi@zend.com (Andi Gutmans) Can you provide more info re: operating system and version? Compiler version? Thanks. Sent from my iPhone > On Jan 24, 2015, at 11:57 PM, Sebastian Bergmann wrote: > > Nut sure whether this is an issue or not but I see it a lot while > compiling master: > > Zend/zend_alloc.h:57:236: warning: unknown attribute 'alloc_size' > ignored [-Wunknown-attributes] > __attribute__ ((visibility("default"))) void* _emalloc(size_t size, > const char *__zend_filename, const uint __zend_lineno, > const char *__zend_orig_filename, const uint __zend_orig_lineno) > __attribute__ ((__malloc__)) __attribute__ ((alloc_size(1))); > > Zend/zend_alloc.h:61:250: warning: unknown attribute 'alloc_size' > ignored [-Wunknown-attributes] > __attribute__ ((visibility("default"))) void* _ecalloc(size_t nmemb, > size_t size , const char *__zend_filename, const uint __zend_lineno, > const char *__zend_orig_filename, const uint __zend_orig_lineno) > __attribute__ ((__malloc__)) __attribute__ ((alloc_size(1,2))); > > Zend/zend_alloc.h:62:238: warning: unknown attribute 'alloc_size' > ignored [-Wunknown-attributes] > __attribute__ ((visibility("default"))) void* _erealloc(void *ptr, > size_t size, int allow_failure , const char *__zend_filename, > const uint __zend_lineno , const char *__zend_orig_filename, > const uint __zend_orig_lineno) __attribute__ ((alloc_size(2))); > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >