I can only agree with REB, I find Codevision VERY good, and no, ive
never tried to compile structs, enums or unions that are local to
functions. All the code examples you showed will compile fine when
making those statements global.
Ive also not met many "real world" programmers that are too concerned
with enums or unions, structs I use a bit just to tidy up code. I
guess were all C-Noobs. Luckily we can make "real world" product work
reliably even when our compiler is so terrible that it can even deal
with a local union.
hahaha whatever.
Cheers
Hein B
Auckland, New Zealand.
--- In AVR-Chat@yahoogroups.com, "Roy E. Burrage" <RBurrage@...> wrote:
>
> It could be, Russell, that the rest of us didn't want to get involved
> with this silliness. Just because a program will not compile one
> project doesn't mean that it won't do a passable, even an exemplary,
job
> for most of what an individual wants to do. However, that being
stated,
> I don't use anything but assembler on a microcontroller and none of my
> projects are very complex, being just data acquisition, control and
test
> automation.
>
> I also use Windows and in something on the order of 6 years of using
XP,
> it's only locked up on me 1 time...and that was when a virus got in the
> system.
>
> Stop trying to pick a fight or start an argument.
>
>
> REB
>
>
>
> Russell Shaw wrote:
>
> >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,
Show quoted textHide quoted text
> >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
> >
> >
>
>
> [Non-text portions of this message have been removed]
>