We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4555d50 commit 4d63f3fCopy full SHA for 4d63f3f
src/main/memory.c
@@ -2358,7 +2358,9 @@ long double *R_allocLD(size_t nelem)
2358
#elif __GNUC__
2359
// This is C99, but do not rely on it.
2360
// Apple clang warns this is gnu extension.
2361
+ #ifdef __clang__
2362
# pragma clang diagnostic ignored "-Wgnu-offsetof-extensions"
2363
+ #endif
2364
size_t ld_align = offsetof(struct { char __a; long double __b; }, __b);
2365
#else
2366
size_t ld_align = 0x0F; // value of x86_64, known others are 4 or 8
0 commit comments