Feature #775

Print warning if deprecated macros are used

Added by Michael Onken 3 months ago. Updated 3 months ago.

Status:New Start date:2017-07-14
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Configuration
Target version:3.6.3
Module: Compiler:
Operating System:

Description

Print warning if deprecated macros are used by developers, e.g. WITH_PRIVATE_TAGS, HAVE_STD_STRING, HAVE_STL etc. which have been renamed, see commits da6b711e, ef5118e, 5b39892 and maybe others.

History

#1 Updated by Jörg Riesmeier 3 months ago

Here's an example on how it is done for another deprecated macro (from "dul.cc"):

#ifdef DONT_DISABLE_NAGLE_ALGORITHM
#warning The macro DONT_DISABLE_NAGLE_ALGORITHM is not supported anymore. See "macros.txt" for details.
#endif

Also available in: Atom PDF