Yahoo Groups archive

AVR-Chat

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

Thread

GCC "swicht" WINAVR

GCC "swicht" WINAVR

2004-10-05 by fjch100

Hi, I have problems with the implementation of "swicht"
this is the code:

swicht (data_temp) {

   case TIME_NON_VALID:
       // some code...
   break;

   case TIME_ZERO:
       // some code...
   break;

   }


this is the error from GCC:


test_rmt.c:139: warning: implicit declaration of function `swicht'

Re: [AVR-Chat] GCC "swicht" WINAVR

2004-10-05 by Mirza

Hi,

use "switch" not "swicht"

-mirza-

--- fjch100 <fjch100@cantv.net> wrote:

> 
> 
> Hi, I have problems with the implementation of
> "swicht"
> this is the code:
> 
> swicht (data_temp) {
> 
>    case TIME_NON_VALID:
>        // some code...
>    break;
> 
>    case TIME_ZERO:
>        // some code...
>    break;
> 
>    }
> 
> 
> this is the error from GCC:
> 
> 
> test_rmt.c:139: warning: implicit declaration of
> function `swicht'
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> Make a clean sweep of pop-up ads. Yahoo! Companion
> Toolbar.
> Now with Pop-Up Blocker. Get it for free!
>
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dN_tlB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Re: [AVR-Chat] GCC "swicht" WINAVR

2004-10-05 by James Russo

You have 'switch' spelling incorrectly..

switch(data_temp) {

    ...

}

fjch100 wrote:
Show quoted textHide quoted text
>
> Hi, I have problems with the implementation of "swicht"
> this is the code:
>
> swicht (data_temp) {
>
>    case TIME_NON_VALID:
>        // some code...
>    break;
>
>    case TIME_ZERO:
>        // some code...
>    break;
>
>    }
>
>
> this is the error from GCC:
>
>
> test_rmt.c:139: warning: implicit declaration of function `swicht'
>
>
>
>
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here 
> <http://us.ard.yahoo.com/SIG=129t8mlo1/M=298184.5285298.6392945.3001176/D=groups/S=1706554205:HM/EXP=1097028165/A=2319498/R=0/SIG=11thfntfp/*http://www.netflix.com/Default?mqso=60185352&partid=5285298> 
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/AVR-Chat/
>        
>     * To unsubscribe from this group, send an email to:
>       AVR-Chat-unsubscribe@yahoogroups.com
>       <mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>

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.