From f502e9b2f6ecb05e89ed31668936286d6f12a6e8 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Tue, 4 Mar 2025 17:23:44 +0100 Subject: [PATCH] include: Add more deprecation warnings --- include/libxml/SAX.h | 4 ++++ include/libxml/nanoftp.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/include/libxml/SAX.h b/include/libxml/SAX.h index 178005b5..c1ab58d7 100644 --- a/include/libxml/SAX.h +++ b/include/libxml/SAX.h @@ -11,4 +11,8 @@ #ifndef __XML_SAX_H__ #define __XML_SAX_H__ +#ifdef __GNUC__ + #warning "libxml/SAX.h is deprecated" +#endif + #endif /* __XML_SAX_H__ */ diff --git a/include/libxml/nanoftp.h b/include/libxml/nanoftp.h index 647a9b0a..5dda6349 100644 --- a/include/libxml/nanoftp.h +++ b/include/libxml/nanoftp.h @@ -8,4 +8,9 @@ #ifndef __NANO_FTP_H__ #define __NANO_FTP_H__ + +#ifdef __GNUC__ + #warning "libxml/nanoftp.h is deprecated" +#endif + #endif /* __NANO_FTP_H__ */