Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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.

List of 31 messages in thread
TopicAuthorDate
microcontroller link in matlabe            01/01/70 00:00      
   possible, but not practical            01/01/70 00:00      
   Ask Matlab            01/01/70 00:00      
      Matlab+C+ 8051= ??            01/01/70 00:00      
   reply: microcontroller and matlab link            01/01/70 00:00      
      space vector modulator in a mcu...            01/01/70 00:00      
      Matrix issues            01/01/70 00:00      
         ANSI 'C'            01/01/70 00:00      
            on ANSI-ness and portability            01/01/70 00:00      
               ANSI            01/01/70 00:00      
                  "implementation specific" = problem            01/01/70 00:00      
                     At last !            01/01/70 00:00      
         It can be done            01/01/70 00:00      
      maybe a solution - or workaround            01/01/70 00:00      
         Lookup Tables!            01/01/70 00:00      
            Why Excel?            01/01/70 00:00      
         Lookup table            01/01/70 00:00      
            Depending on size of tables,            01/01/70 00:00      
         need to use eprom            01/01/70 00:00      
            Converting to .hex            01/01/70 00:00      
               Bin2hex            01/01/70 00:00      
   App Note References            01/01/70 00:00      
   keil help            01/01/70 00:00      
      Keil            01/01/70 00:00      
      You still need floating point, sqrt...??            01/01/70 00:00      
      Aaaaargh!            01/01/70 00:00      
   variable time interval            01/01/70 00:00      
      use timer interrupt            01/01/70 00:00      
         Space vector modulation            01/01/70 00:00      
            external eprom            01/01/70 00:00      
               EEPROM            01/01/70 00:00      

Back to Subject List