forked from OSchip/llvm-project
Use __extension__ to suppress __EH_FRAME_LIST__ warnings
gcc -pedantic => warning: ISO C forbids empty initializer braces clang -pedantic => -Wzero-length-array + -Wgnu-empty-initializer llvm-svn: 359655
This commit is contained in:
parent
dbe1c4aa6f
commit
99055b9c38
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
__attribute__((visibility("hidden"))) void *__dso_handle = &__dso_handle;
|
__attribute__((visibility("hidden"))) void *__dso_handle = &__dso_handle;
|
||||||
|
|
||||||
static void *__EH_FRAME_LIST__[]
|
__extension__ static void *__EH_FRAME_LIST__[]
|
||||||
__attribute__((section(".eh_frame"), aligned(sizeof(void *)))) = {};
|
__attribute__((section(".eh_frame"), aligned(sizeof(void *)))) = {};
|
||||||
|
|
||||||
extern void __register_frame_info(const void *, void *) __attribute__((weak));
|
extern void __register_frame_info(const void *, void *) __attribute__((weak));
|
||||||
|
|
Loading…
Reference in New Issue