fixing bindgen c++ [[noreturn]] issue.

authored by Andrzej J. Skalski and committed by Jeremy Soller 42493b88 3bd7f21f

Changed files
+1 -1
include
+1 -1
include/features.h
··· 61 61 62 62 // Analogous to Rust's Never type 63 63 //TODO: clang fails to compile C with [[noreturn]] 64 - #if defined(__cplusplus) && __HAS_ATTRIBUTE(noreturn) 64 + #if defined(__cplusplus) && __HAS_ATTRIBUTE(noreturn) && !(__clang__) 65 65 #define __noreturn [[noreturn]] 66 66 // #elif __STDC_VERSION__ >= 201112L 67 67 // FIXME: cbindgen incorrectly places _Noreturn