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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"