Date: Thu, 27 Aug 2015 16:34:15 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: Alexander Kabaev <kabaev@gmail.com> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r287206 - head/sys/sys Message-ID: <55DF8257.2070904@FreeBSD.org> In-Reply-To: <55DF7E0E.6030007@FreeBSD.org> References: <201508271400.t7RE0Nbc071389@repo.freebsd.org> <55DF3519.1000106@FreeBSD.org> <CAALb-ZXvc5dFB1Hfxmfs9PdcKZZ7=fQ9DZptk2Qz_3Hw%2BwHH_w@mail.gmail.com> <55DF7E0E.6030007@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 "<built-in>"
# 1 "<command-line>"
# 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DF8257.2070904>
