Difference between revisions of "Handling non-standard or unsupported keywords"

From STRIDE Wiki
Jump to: navigation, search
Line 1: Line 1:
 
If an unrecognized keyword in your source file is preventing compilation in STRIDE, you can work around the issue by creating an explicit empty definition for the keyword within STRIDE Studio.
 
If an unrecognized keyword in your source file is preventing compilation in STRIDE, you can work around the issue by creating an explicit empty definition for the keyword within STRIDE Studio.
  
To create the definition, from the Studio menu, choose ''Tools/Settings'', then choose the ''Compiler'' tab and add a preprocessor definition for the unrecognized keyword.
+
To create the definition, from the Studio menu, choose ''Workspace/Settings'', then choose the ''Compiler'' tab and add a preprocessor definition for the unrecognized keyword.
  
 
For example if the <tt>__inline__</tt> keyword is missing or unsupported, you can work around it by adding <tt>'__inline__='</tt> to the workspace definitions.
 
For example if the <tt>__inline__</tt> keyword is missing or unsupported, you can work around it by adding <tt>'__inline__='</tt> to the workspace definitions.

Revision as of 00:46, 14 September 2008

If an unrecognized keyword in your source file is preventing compilation in STRIDE, you can work around the issue by creating an explicit empty definition for the keyword within STRIDE Studio.

To create the definition, from the Studio menu, choose Workspace/Settings, then choose the Compiler tab and add a preprocessor definition for the unrecognized keyword.

For example if the __inline__ keyword is missing or unsupported, you can work around it by adding '__inline__=' to the workspace definitions.