From 911a364280e56c1b84de814e54ee59e5fd0f4a5e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 9 Mar 2026 15:03:34 +0000 Subject: Add the VF_DEPRECATED flag and warn on load about deprecation. --- src/modules.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 42f82b7a8..b0a4dd3f4 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -77,13 +77,14 @@ void Module::CompareLinkData(const LinkData& otherdata, LinkDataDiff& diffs) std::string Module::GetPropertyString() const { - // D = VF_CORE ("default") + // R = VF_CORE ("required") // V = VF_VENDOR // C = VF_COMMON // O = VF_OPTCOMMON - std::string propstr("DVCO"); + // D = VF_DEPRECATED + std::string propstr("RVCOD"); size_t pos = 0; - for (int mult = VF_CORE; mult <= VF_OPTCOMMON; mult *= 2, ++pos) + for (int mult = VF_CORE; mult <= VF_LAST; mult *= 2, ++pos) if (!(this->properties & mult)) propstr[pos] = '-'; return propstr; -- cgit v1.3.1-10-gc9f91