At 05:45 12/31/2001 +0000, Dale Botkin wrote: >Mark Newland said: > > twice the functions at at a great price but as Gerhard said, it has a "... >very > > high non-compliance ..." compared to others. > >I just have to ask... compliance with what, exactly, and why? It's >compiling code for a very unique hardware environment, so one would think >that the addition of functions in support of that environment would be a good >thing. Remember that the mere fact that there exists a predefined function >for (for example) setup_adc() doesn't mean one is required to use it. One thing that bugged me about CCS (a few years ago, though -- I'm not up to date with CCS at all) was the fact that it implemented only the basic C syntax and not much more of C's structure. For example, in a more compliant C compiler, the special functions would be implemented as library files, with a combination of macros (in header files) and library functions -- a more transparent method, you don't have to learn a new language element, you just look at the library implementation and know how it is done. From the special functions I've seen, I don't see a reason why this can't be done. But the creator of CCS has chosen not to use the standard way, without a need that I can see. I don't work exclusively in PIC C, and when I do, using a compiler that is more "normal" in all its ways helps me tremendously to avoid having to get up to speed each time I get into it. This is one of the functions of standards, and that's why for me a certain standard compiance is an advantage. I'm not talking about whether int is 8 bit or 16 bit -- this is the small stuff that can be fixed easily. I'm talking about the thinking behind the compiler. If the creator doesn't think in C, structure-wise, I don't have a common language with him. I've also used Dynamic C (because of a client requirement), which is another of those C compilers that implement only the basic C syntax but have a completely different structure than standard C. Makes it more difficult than necessary for me to tune to that thing everytime I have to. (Note that this is highly personal, just to answer your question "compliance why?". It's not an objective evaluation :) ge -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body