??? 12/23/04 11:53 Read: times |
#83695 - ANSI Responding to: ???'s previous message |
Jan Waclawek said:
When he went to the workstations, confident he would be able to run it very quickly (being ANSI), it even did not compile for the first time, and then giving bad results. It took a lot of labour to make it SUN-ANSI and Apollo-ANSI.
So much about portability. Not to mention the peculiarities of a Keil-ANSI compiler Remember that the ANSI standard (or ISO/IEC 9899, to be precise) specifically identifies a number of issues as "implementation-defined" and "undefined." Most portability problems result from failure to properly consider these issues, rather than "peculiarities" of specific implementations. That's why I keep saying that all compiler-dependencies should be "encapsulated" in #defines, typedefs, etc - so that they can be easily adjusted for different targets. |