From owner-svn-src-head@freebsd.org Thu Aug 27 21:34:18 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 739099C4FDE for ; Thu, 27 Aug 2015 21:34:18 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm8-vm0.bullet.mail.bf1.yahoo.com (nm8-vm0.bullet.mail.bf1.yahoo.com [98.139.213.95]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 280F536C for ; Thu, 27 Aug 2015 21:34:18 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1440711250; bh=A2+2tqXvjorR8OVWHwGI9fVIYiVADGcq4laGN4mNo6c=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=ev2i1vnib6axyW/Um3b9IxDx479rt7DQzp5HQTM6C6FIBdg88ScvCjNKUIsyh1IUMbKVmI4DSUJzN/a28q0sri92nzjnWuwfsqeCZm3v1s/dGvj1KF5vql5Z34Il0dlxKXvESmJsXgyYrGV9s35/UkiAHIhd8tzTMchuvEJBtz2zVYFDrt/lWbfDNbA6He4ysCtJSAQXiDH+gmB15qOHUiYa2+5qwnS+ucg0wpp/ql7alzKKIQo7PaA8my9SYjUl4tLOTvdecP9pp2MA7fggyaW4o1S886P91IKytlQOzy3UpnE2aythEqj0sAcZncLY6OQ8y1dQYop1OLTT+2rv6w== Received: from [66.196.81.174] by nm8.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2015 21:34:10 -0000 Received: from [98.139.211.160] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2015 21:34:10 -0000 Received: from [127.0.0.1] by smtp217.mail.bf1.yahoo.com with NNFMP; 27 Aug 2015 21:34:10 -0000 X-Yahoo-Newman-Id: 998856.79569.bm@smtp217.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _eWkHzQVM1ndSzsR1mQtaWPXlnWzIq4t0wFGLl0030AMpD1 tbW2KTS7ml_x0D.BI2_hHF6X_S_6Yr7hfeg.b_OeMz90n_YkjddMplMJPLF2 abfpq7iW9jHD1KVi9YT8GcqvXAiaVbjM6AX8MhtVM5_pH_1UDor6159sy_Nj tA_P5R6sb7YL3yQ4NgmXeYag2vutJ4KePo3YGRirRbh9Shm9AwgtBGURF7.n POO3JAjtJJXe78TfJTbYAPHMn17ThYURQ6UM68uEnn2WKof.p5GLs9ZAjsmR A.faDb7nFipHktUu8_Y8VMtiwM5NYu4Sd5fV0Mtqc1r.RuVSAzolPQcMsHtB WZrgI.6mlLvdVHUayVSWmBdEAhupXVUApegE89aeKB2PhU7vxMTQXB00QkbK MAwOJ9OZX4lDHL.i1El.IfCF.ZyMKuriD4fub0eufIaLXZ_Nnw7JlODOmawT DUAJ33QLs83p_r3ChIyOMO4X_J7sDtQAIwuJsh2PR6R3IaGvRbtqWN.farEj bCf8P4YLuuDttIno_K5nyKvY6KUWU3Ld1 X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: svn commit: r287206 - head/sys/sys To: Alexander Kabaev References: <201508271400.t7RE0Nbc071389@repo.freebsd.org> <55DF3519.1000106@FreeBSD.org> <55DF7E0E.6030007@FreeBSD.org> Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" From: Pedro Giffuni Message-ID: <55DF8257.2070904@FreeBSD.org> Date: Thu, 27 Aug 2015 16:34:15 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55DF7E0E.6030007@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2015 21:34:18 -0000 On 08/27/15 16:15, Pedro Giffuni wrote: > ... > ... > >> The original change to cdefs.h appears to be plain wrong. >> > > Not really, it may appear some day. > I take that back, there is something wrong: #ifndef __has_feature #define __has_feature(x) (0) #endif #if __has_attribute(alloc_size) #error Has attribute #endif $ cc -E attr-text.c # 1 "attr-text.c" # 1 "" # 1 "" # 1 "attr-text.c" attr-text.c:5:20: error: missing binary operator before token "(" $ cc --version cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Pedro.