Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

New Platform Identifiers in RAD Studio, Delphi and C++Builder 11 Alexandria

I was looking through the “What’s New in version 11 Alexandria” and found a cool tidbit about small changes in the RTL for “Platform Identifiers“. Using these platform identifiers can help in your cross platform development projects. Ensuring that all of the platform related identifiers use a consistent naming pattern will also help in your programming efforts.
[crayon-6767e24e5a0ce466437187/]
You will find the new platform identifiers in the  System.Classes.pas and System.Classes.hpp files. Note: a few of the platform identifiers are now marked with the deprecated attribute.

 

C++Builder note: In the screen grab above, I used the “Classic” C++ compiler to display the deprecated warning message in the Message Window. In the DocWiki there is a note about workarounds in using the Clang-enhanced compilers and deprecated attributes. The DocWiki entry says to “use #pragma obsolete as a workaround for the deprecated attribute.”
[crayon-6767e24e5a0d8384676782/]
[crayon-6767e24e5a0db245027303/]
 

Interested in using Embarcadero’s IDE Software? It will help you Build Apps 5x Faster With One Codebase for Windows, Android, iOS, macOS, and Linux. Request a free trial here.

Exit mobile version