mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Fix a proble building the libiberty library with gcc-12.
PR 28779 * regex.c: Suppress -Wuse-after-free.
This commit is contained in:

committed by
Nick Clifton

parent
965c919f98
commit
2f279a64a2
@ -30,6 +30,10 @@
|
||||
#pragma alloca
|
||||
#endif
|
||||
|
||||
#if __GNUC__ >= 12
|
||||
# pragma GCC diagnostic ignored "-Wuse-after-free"
|
||||
#endif
|
||||
|
||||
#undef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
||||
|
Reference in New Issue
Block a user