Delphi Error – W1002 Symbol ‘%s’ is specific to a platform

Delphi Compiler Error

W1002 Symbol ‘%s’ is specific to a platform

Reason for the Error & Solution

The symbol is tagged (using the platform hint directive) as one that might not be available on all platforms. If you are writing multi-device applications, the symbol might cause a problem.

The $WARN SYMBOL_PLATFORM ON/OFF compiler directive turns on or off all warnings about the platform directive on symbols in the current unit.

See Also