![]() |
New Delphi 10.3 Warning "Unknown Custom Attribute"
Up to Delphi 102, if you used a custom attribute that was not known to the compiler (because you typed*it incorrectly*or a unit was missing in the uses statement), you'd receive the warning:
Warning: W1025 Unsupported language feature: 'custom attribute' This message was misleading, because the feature has been in the language for quite some time, it was just using an undefined symbol in it. There is a large list of reports on this issue, including* ![]() Starting with 10.3, the same code will trigger a new specific warning: Warning: W1074 Unknown custom attribute This conveys a more specific information. It also makes it is easier to turn this warning into an error -- which would often make sense, by using the directive: {$WARN UNKNOWN_CUSTOM_ATTRIBUTE ERROR} In the past you could achieve the same by turning the unsupported language feature*warnings*into errors, but that could have included also other unwanted scenarios. http://feeds.feedburner.com/~r/marco...~4/UuxN0ScA4EM ![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:52 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz