ts-7000
[Top] [All Lists]

[ts-7000] Ts7800 coding errors

To:
Subject: [ts-7000] Ts7800 coding errors
From: "vidhyaverma88" <>
Date: Wed, 14 Mar 2012 17:24:37 -0000
Hello, 
             When I run any code I am getting errors related to headers file.

           For example when I run tolcd.c by using gcc tolcd.c 
                                               then ./a.out
then I am getting errors ,kindly tell me how I can remove these errors.

errors are:

usr/include/unistd.h:312: error: syntax error before "size_t"                  
/usr/include/unistd.h:318: error: syntax error before "size_t"                  
/usr/include/unistd.h:448: error: syntax error before "size_t"                  
In file included from tolcd.c:33:                                               
/usr/include/unistd.h:544: error: syntax error before "confstr"                 
/usr/include/unistd.h:544: error: syntax error before "size_t"                  
/usr/include/unistd.h:712: error: syntax error before "size_t"                  
/usr/include/unistd.h:740: error: syntax error before "size_t"                  
In file included from tolcd.c:33:                                               
/usr/include/unistd.h:791: error: syntax error before "size_t"                  
/usr/include/unistd.h:798: error: syntax error before "size_t"                  
/usr/include/unistd.h:809: error: syntax error before "size_t"                  
/usr/include/unistd.h:811: error: syntax error before "size_t"                  
/usr/include/unistd.h:829: error: syntax error before "size_t"                  
In file included from /usr/include/sys/types.h:266,                             
                 from tolcd.c:35:                                               
/usr/include/bits/pthreadtypes.h:50: error: syntax error before "size_t"        
/usr/include/bits/pthreadtypes.h:53: error: syntax error before "__stacksize"   
In file included from tolcd.c:37:                                               
/usr/include/sys/mman.h:58: error: syntax error before "size_t"                 
/usr/include/sys/mman.h:77: error: syntax error before "size_t"                 
/usr/include/sys/mman.h:82: error: syntax error before "size_t"                 
/usr/include/sys/mman.h:90: error: syntax error before "size_t"                 
/usr/include/sys/mman.h:95: error: syntax error before "size_t"                 
/usr/include/sys/mman.h:104: error: syntax error before "size_t"                
/usr/include/sys/mman.h:107: error: syntax error before "size_t"                
/usr/include/sys/mman.h:122: error: syntax error before "size_t"                
/usr/include/sys/mman.h:130: error: syntax error before "size_t"                
/usr/include/sys/mman.h:135: error: syntax error before "size_t"                
In file included from /usr/include/_G_config.h:44,                              
                 from /usr/include/libio.h:32,                                  
                 from /usr/include/stdio.h:72,                                  
                 from tolcd.c:41:                                               
/usr/include/gconv.h:72: error: syntax error before "size_t"                    
/usr/include/gconv.h:88: error: syntax error before "size_t"                    
/usr/include/gconv.h:97: error: syntax error before "size_t"                    
/usr/include/gconv.h:174: error: syntax error before "size_t"                   
/usr/include/gconv.h:177: error: syntax error before '}' token                  
In file included from /usr/include/libio.h:32,                                  
                 from /usr/include/stdio.h:72,                                  
                 from tolcd.c:41:                                               
/usr/include/_G_config.h:47: error: field `__cd' has incomplete type            
/usr/include/_G_config.h:50: error: field `__cd' has incomplete type            
In file included from /usr/include/stdio.h:72,                                  
                 from tolcd.c:41:                                               
/usr/include/libio.h:354: error: syntax error before "size_t"                   
/usr/include/libio.h:363: error: syntax error before "size_t"                   
/usr/include/libio.h:479: error: syntax error before "_IO_sgetn"                
/usr/include/libio.h:479: error: syntax error before "size_t"                   
In file included from tolcd.c:41:                                               
/usr/include/stdio.h:302: error: syntax error before "size_t"                   
/usr/include/stdio.h:309: error: syntax error before "size_t"                   
/usr/include/stdio.h:351: error: syntax error before "size_t"                   
/usr/include/stdio.h:355: error: syntax error before "size_t"                   
/usr/include/stdio.h:603: error: syntax error before "fread"                    
/usr/include/stdio.h:603: error: syntax error before "size_t"                   
/usr/include/stdio.h:609: error: syntax error before "fwrite"                   
/usr/include/stdio.h:609: error: syntax error before "size_t"                   
/usr/include/stdio.h:631: error: syntax error before "fread_unlocked"           
/usr/include/stdio.h:631: error: syntax error before "size_t"                   
/usr/include/stdio.h:633: error: syntax error before "fwrite_unlocked"          
/usr/include/stdio.h:633: error: syntax error before "size_t"                   
In file included from /usr/include/fcntl.h:33,                                  
                 from tolcd.c:43:                                               
/usr/include/bits/fcntl.h:186: error: syntax error before "size_t"              
In file included from tolcd.c:45:                                               
/usr/include/string.h:39: error: syntax error before "size_t"                   
/usr/include/string.h:43: error: syntax error before "size_t"                   
/usr/include/string.h:52: error: syntax error before "size_t"                   
/usr/include/string.h:59: error: syntax error before "size_t"                   
/usr/include/string.h:62: error: syntax error before "size_t"                   
/usr/include/string.h:66: error: syntax error before "size_t"                   
/usr/include/string.h:88: error: syntax error before "size_t"                   
/usr/include/string.h:96: error: syntax error before "size_t"                   
/usr/include/string.h:102: error: syntax error before "size_t"                  
/usr/include/string.h:109: error: syntax error before "strxfrm"                 
/usr/include/string.h:110: error: syntax error before "size_t"                  
/usr/include/string.h:184: error: syntax error before "strcspn"                 
/usr/include/string.h:188: error: syntax error before "strspn"                  
/usr/include/string.h:242: error: syntax error before "strlen"                  
/usr/include/string.h:281: error: syntax error before "size_t"                  
/usr/include/string.h:288: error: syntax error before "size_t"                  
/usr/include/string.h:292: error: syntax error before "size_t"                  
/usr/include/string.h:296: error: syntax error before "size_t"                  
/usr/include/string.h:299: error: syntax error before "size_t"                  
/usr/include/string.h:329: error: syntax error before "size_t"                  
In file included from tolcd.c:47:                                               
/usr/include/stdlib.h:140: error: syntax error before "__ctype_get_mb_cur_max"  
/usr/include/stdlib.h:450: error: syntax error before "size_t"                  
/usr/include/stdlib.h:480: error: syntax error before "size_t"                  
/usr/include/stdlib.h:584: error: syntax error before "__size"                  
/usr/include/stdlib.h:586: error: syntax error before "__nmemb"                 
/usr/include/stdlib.h:595: error: syntax error before "size_t"                  
In file included from /usr/include/stdlib.h:606,                                
                 from tolcd.c:47:                                               
/usr/include/alloca.h:33: error: syntax error before "__size"                   
In file included from tolcd.c:47:                                               
/usr/include/stdlib.h:611: error: syntax error before "__size"                  
/usr/include/stdlib.h:768: error: syntax error before "size_t"                  
/usr/include/stdlib.h:773: error: syntax error before "size_t"                  
/usr/include/stdlib.h:846: error: syntax error before "size_t"                  
/usr/include/stdlib.h:849: error: syntax error before "size_t"                  
/usr/include/stdlib.h:853: error: syntax error before "size_t"                  
/usr/include/stdlib.h:857: error: syntax error before "size_t"                  
/usr/include/stdlib.h:866: error: syntax error before "size_t"                  
/usr/include/stdlib.h:870: error: syntax error before "size_t"                  
/usr/include/stdlib.h:877: error: syntax error before "mbstowcs"                
/usr/include/stdlib.h:878: error: syntax error before "size_t"                  
/usr/include/stdlib.h:880: error: syntax error before "wcstombs"                
/usr/include/stdlib.h:881: error: syntax error before "size_t"                  
/usr/include/gconv.h:176: warning: array `__data' assumed to have one element 





------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU