C1439: Illegal pragma __OPTION_ACTIVE__, <Reason>

[ERROR]

Description

An ill formed __OPTION_ACTIVE__ expression was detected. The reason argument gives a more concrete hint what actually is wrong.

Example
  #if __OPTION_ACTIVE__("-dABS")

  
  #endif

  

The __OPTION_ACTIVE__ expression only allows the option to be tested (here -d and not the content of the option here ABS.

Tips

Only use the option. To check if a macro is defined as in the example above, use if defined(ABS). Only options known to the compiler can be tested. This option can be moved to an warning or less.

See also