Yahoo Groups archive

AVR-Chat

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

Thread

Re: [AVR-Chat] gcc problem

Re: [AVR-Chat] gcc problem

2008-02-28 by Michael Magin

I assume you're trying to define the main function...

If you replace that line with (a standard-compliant main definition):
int main(int argc, char *argv[]) {

does the problem go away?

Mike
Show quoted textHide quoted text
>
>  On Wed, Feb 27, 2008 at 7:18 PM, Tom <tjkeller1@windstream.net> wrote:
>  >
>  >
>  >
>  >
>  >
>  >
>  > Tom wrote:
>  >  >
>  >  > I am using avrgcc 4.2.1 through AVRStudio 4.13 Service Pack 1.
>  >  >
>  >  > I am getting a frustrating compiler error:
>  >  >
>  >  > in line 38:
>  >  >
>  >  > main (
>  >  >
>  >  Err, typo: main {
>  >
>  >  avrfreak
>  >
>  >  
>

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.