Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 23:24:00 -0300
From:      Alex Kuster <vertexSymphony@zoho.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Failure to compile world
Message-ID:  <4EEFF1C0.5000408@zoho.com>
In-Reply-To: <4EEFB8B6.8010203@zoho.com>
References:  <4EEFB8B6.8010203@zoho.com>

next in thread | previous in thread | raw e-mail | index | archive | help
http://clang.llvm.org/docs/LanguageExtensions.html#__builtin_unreachable
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1453.htm

Apparently this is the problem:

> _Noreturn void     abort(void);
> // [...] more declarations
> _Noreturn void     exit(int);

Those noreturns are supposed to be written with GCC syntax and this can 
be workarounded with this :

> |#define _Noreturn __attribute__ ((noreturn))|
|
Maybe the compiler can be checked in preprocessor and add that compatibility line so the code compiles correctly
||Any opinion on this?|

|
Thanks for your time and for reading !
|




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEFF1C0.5000408>