Re: Failure to compile world

From: Alex Kuster <vertexSymphony_at_zoho.com>
Date: Mon, 19 Dec 2011 23:24:00 -0300
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 !
|
Received on Tue Dec 20 2011 - 01:24:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC