Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++CodeDelphiIDERAD Studio

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

Platform Identifiers

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.

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.

Platform Identifiers  Platform Identifiers C++

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.”

 

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.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES