Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER->Compiler Command Line Options->Default to Reentrant Code (/Os)

The /Os option instructs the compiler to generate reentrant code by default.  Therefore unless a function name is preceded by the _nonreentrant keyword, it will be compiled as a reentrant function.

If the /Os option is not used the compiler will generate non-reentrant code by default.  Then, unless a function name is preceded by the _reentrant keyword, it will be compiled as a non-reentrant function.