From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,b88c58957d331859,start X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!news.mediascape.de!elnk-atl-nf1!newsfeed.earthlink.net!news-feed-01.tampabay.rr.com!news.rr.com!news-post.tampabay.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail From: " DiskMan" Newsgroups: comp.os.linux.alpha Subject: Compaq C and standard GLIBC Headers... X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: Date: Wed, 02 Mar 2005 22:13:52 GMT NNTP-Posting-Host: 65.28.70.117 X-Complaints-To: abuse@rr.com X-Trace: twister.rdc-kc.rr.com 1109801632 65.28.70.117 (Wed, 02 Mar 2005 16:13:52 CST) NNTP-Posting-Date: Wed, 02 Mar 2005 16:13:52 CST Xref: g2news1.google.com comp.os.linux.alpha:802 I was wondering, whats the issue with CCC and GLIBC header files. I noticed that most of my problems compiling software tend to point to the problem of CCC not being able to parse header files or so picky it can't interpret some of the formating in said header files. Example: GLIBC-2.1 cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 698: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int mbtowc __P ((wchar_t *__restrict __pwc, ------------------^ cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 702: Ill-formed parameter type list. (parmtyplist) extern int wctomb __P ((char *__s, wchar_t __wchar)); ------------------^ cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 706: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern size_t mbstowcs __P ((wchar_t *__restrict __pwcs, -----------------------^ cc: Error: /usr/alpha-glibc21-linux/include/stdlib.h, line 709: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern size_t wcstombs __P ((char *__restrict __s, -----------------------^ cc: Warning: /usr/alpha-glibc21-linux/include/alloca.h, line 33: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam) extern __ptr_t alloca __P ((size_t __size)); ---------------^ cc: Error: /usr/alpha-glibc21-linux/include/alloca.h, line 33: In this declaration, the type of "alloca" is not compatible with the type of a previous declaration of "alloca" at line number 59 in file ../../include/config.h. (notcompat) extern __ptr_t alloca __P ((size_t __size)); ---------------^ I recieve similar errors with GLIBC-2.2.3 and DEFINATELY with GLIBC-2.3.2... Any tips/hints/ideas, on how to keep CCC from being so damn picky? Will L G