>I am porting some OS-9 V2.2 code to V3.0. I have just recently
>added all of the ANSI prototypes and compiled using Fastrack on
>my PC and Extended ANSI mode. Can anyone tell me the difference
>between compiling in Extended ANSI vs. Strict ANSI?
>Also, I noticed that the compiler does not complain about functions
>that DO NOT have prototypes. Is there any way to turn this type
>of checking on?
add a -cw to your command line to turn on compiler warnings. Also if you
check each phase of the compiler, each phase has some warning or error options
you can turn on. ie. uninitialized variables , mismatched returns, etc.
Check the Microware Manuals about the differences between Extended Ansi &
Strict Ansi. I know 1 difference is that Ansi restricts structs to 64kb in
size. (this in defference to certain segmented architectures). Extended Ansi
removes this restriction. Also Microware has added some storage classes &
types that are not ANSI. I believe that there other differences but I believe
they are all listed in the manuals.
Allan R. Batteiger - President
Real-Time Services Inc.
2420 Tarpley Rd #202
Carrollton, TX. 75006