A strategy to compile wand/deprecated.c
Posted: 2011-02-11T17:42:30-07:00
Problem: wand/deprecated.c produces noise in build. It implements functions that are deprecated, therefore the noise is unavoidable, unless …
in deprecated.c:
in deprecated.h:
and replace /magick_attribute((deprecated))/ with MAGICK_WAND_DEPRECATED afterwards
Clean up at the end:
What do you think?
in deprecated.c:
Code: Select all
#define MAGICK_WAND_DEPRECATED
Code: Select all
#ifndef MAGICK_WAND_DEPRECATED
#define MAGICK_WAND_DEPRECATED magick_attribute((deprecated))
#endif
Clean up at the end:
Code: Select all
#undef MAGICK_WAND_DEPRECATED