> You can declare main like this instead:
>
> void main( void )
> {
> ....
> }
>
> If you compile your code using the -ffreestanding option, then the
> compiler won't complain that main doesn't return an int.
Ok, I'd already found that I can declare the return as void, but the
compiler does whine about it.
I'm ok with that, although I really do prefer to have no warnings or errors.
I'm definitely not ready to mess with makefiles yet, but I'll keep that in mind.Message
Re: [AVR-Chat] Finally, really, actually, starting off with C
2009-01-07 by David VanHorn