beautypg.com

Zilog EZ80F916 User Manual

Page 90

background image

UM014423-0607

Using the Integrated Development Environment

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

70

Figure 53. Deprecated Page of the Project Settings Dialog Box

Disable ANSI Promotions

The option of enabling or disabling ANSI promotions refers to promoting char and short
values to ints when doing computations, as described in more detail in this section. Dis-
abling the promotions was made a user option in earlier releases of ZDS II with the goal of
reducing code size because the promotions called for by the ANSI C standard are often
unnecessary and can lead to considerable code bloat. However, over time, several prob-
lems were found in the compiler’s ability to apply this option consistently and correctly in
all cases. Therefore, ZiLOG no longer recommends the use of this feature and, to address
the original code size issue, has expended more effort to reduce code size and remove truly
unnecessary promotions while observing the ANSI standard. For this reason, the Disable
ANSI Promotions check box is now available only as a deprecated feature. It remains
available because some users have carefully created working code that might depend on
the old behavior and might have to expend additional effort now to keep their code work-
ing without the deprecated feature.

This manual is related to the following products: