Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: I Need A Compiler

2007-01-28 by Russell Shaw

Russell Shaw wrote:
> stevech11 wrote:
>> --- In AVR-Chat@yahoogroups.com, Russell Shaw <rjshaw@...> wrote:
>>> steve childress wrote:
>>>> Codevision worked well for me and it has  a large user base.
>>> Windoze has a lot of users too, but it doesn't mean it's any good.
>>> Try before you buy.
>>>
>> As I said, CV has worked very well for me, i.e., I did "try before you
>> buy".
>>
>> Indeed, it supports a tiny memory model for the AVRs with 256 bytes of
>> RAM or less. This yields 8 bit pointers to RAM. One complex program I
>> wrote was far smaller with this mode than with GCC or BASCOM or IAR.
>> Indeed, with GCC the code was too large to fit in the flash.
>>
>> I am not pumping CV - I use GCC a lot too. But CV is a fine product
>> and the support is A+++.
> 
> Does it compile the code examples i provided without error messages?

Oh boy do i know how to silence a list;) Absolutely ROTFLMAO:)

I wouldn't normally have bothered, but seeing as though the list went
ever so silent, i headed on over to http://www.hpinfotech.ro/html/download.htm,
installed the eval version, and made a simple project with:

#include<stdlib.h>

void func1(void)
{
   enum {where,why,what} state;
}

void main(void)
{
}

Result?:  main.c(5): illegal symbol

*****************************************************************

#include<stdlib.h>

void func1(void)
{
   struct {
     char What;
   } state;
}

void main(void)
{
}

Result?:  main.c(5): illegal symbol

*****************************************************************

#include<stdlib.h>

void func1(void)
{
   union {
     char What;
   } state;
}

void main(void)
{
}

Result?:  main.c(5): illegal symbol

*****************************************************************

This one compiles ok:

#include <stdlib.h>

void input_from_panel(void)
{ static enum {Waiting,What} state;
}

void send_serial(void)
{ static enum {What} state;
}

void main(void)
{
}

*****************************************************************

This one compiles ok:

struct TCB_struct{
   unsigned char cnt,prio,task_state,swstk[16],*swstkptr;
   void(**hwstkptr)(void);
   void(*hwstk[8])(void);
   struct TCB_struct* next_ptr;
};

*****************************************************************

This one compiles ok:

void(**hwstk)(void);

*****************************************************************


It just sums up the quality of Windoze crud in general. Codevision
users must be really basic C noobs.

Three basic C syntax bugs haven't been fixed for 5 freekin YEARS, and
you PAYED money for this? No wonder no one owned up to it.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.