aboutsummaryrefslogtreecommitdiff
path: root/libiberty/simple-object-mach-o.c
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-10-27 04:33:37 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2022-10-28 05:32:11 +0000
commit56d4450bdfc873ff3c2d1ebb194c7a076d4d13f6 (patch)
treeeb5dacb5adb805408469edee031d7a715a92c6ac /libiberty/simple-object-mach-o.c
parent40f1a1a4564b2e5822cf19a43a8c15154aa4c488 (diff)
downloadbinutils-56d4450bdfc873ff3c2d1ebb194c7a076d4d13f6.zip
binutils-56d4450bdfc873ff3c2d1ebb194c7a076d4d13f6.tar.gz
binutils-56d4450bdfc873ff3c2d1ebb194c7a076d4d13f6.tar.bz2
include: Define macro to ignore -Wdeprecated-declarations on GCC
"-Wdeprecated-declarations" warning option can be helpful to track deprecated function delarations but sometimes we need to disable this warning for a good reason. DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS is an existing macro but only defined on Clang. Since "-Wdeprecated-declarations" is also available on GCC (>= 3.4.0), this commit adds equivalent definition as Clang. __GNUC__ and __GNUC_MINOR__ are not checked because this header file seems to assume GCC >= 4.6 (with "GCC diagnostic push/pop"). include/ChangeLog: * diagnostics.h (DIAGNOSTIC_IGNORE_DEPRECATED_DECLARATIONS): Define also on GCC.
Diffstat (limited to 'libiberty/simple-object-mach-o.c')
0 files changed, 0 insertions, 0 deletions