W1074 未知のカスタム属性 (Delphi)
このメッセージは、この属性に対して使用されているクラスが見つからなかったことを示します。
メモ: この警告が
False
に設定された場合、警告「この言語はサポートされていません」が生成されます。例
type
[ThisIsAFakeAttribute('Hello', 10)] // This generates 'the "Warning: W1074 Unknown custom attribute"
TTestClass = class
end;
{$WARN UNKNOWN_CUSTOM_ATTRIBUTE OFF} // Here we disable the generation of W1074
[ThisIsAFakeAttribute('Hello', 10)] // Now, this generates the "Warning: W1025 Unsupported language feature: 'custom attribute'"
TTestClass2 = class
end;