Failure to compile world
    Alex Kuster 
    vertexSymphony at zoho.com
       
    Tue Dec 20 02:24:05 UTC 2011
    
    
  
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 !
|
    
    
More information about the freebsd-current
mailing list