mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
Avoid EDG deprecation warnings for LCC compiler
This commit is contained in:
committed by
Igor Molchanov
parent
c1e9f761e0
commit
6bc86405d1
@@ -65,7 +65,10 @@
|
||||
/*
|
||||
* Macros to ignore deprecation warnings
|
||||
*/
|
||||
#if defined(__clang__) || \
|
||||
#if defined(__LCC__)
|
||||
#define XML_IGNORE_DEPRECATION_WARNINGS \
|
||||
_Pragma("diag_suppress 1215")
|
||||
#elif defined(__clang__) || \
|
||||
(defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 406))
|
||||
#define XML_IGNORE_DEPRECATION_WARNINGS \
|
||||
_Pragma("GCC diagnostic push") \
|
||||
|
||||
Reference in New Issue
Block a user