Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: " DiskMan" <nobody@thewheel.com>
Subject: Compaq C and standard GLIBC Headers...
Date: Wed, 02 Mar 2005 22:13:52 GMT	[thread overview]
Message-ID: <AUqVd.2874$Cg6.2045@twister.rdc-kc.rr.com> (raw)

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




             reply	other threads:[~2005-03-02 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 22:13  DiskMan [this message]
2005-03-02 22:13 ` Compaq C and standard GLIBC Headers Mathieu Chouquet-Stringer
2005-03-03  0:38   `  DiskMan
2005-03-03  1:05     `  DiskMan
2005-04-08 21:33 ` Tavis Ormandy
2005-04-09  0:25   ` DiskMan
2005-04-09  9:45     ` So far that patch has done the TRICK!!!!  DiskMan
2005-04-09 17:03   ` Thanks for the patch... I had to manually enter it but hey, it was ONLY 2 files  DiskMan
2005-04-09 20:10   ` Compaq C and standard GLIBC Headers... [ JUST COMPILED PHP USING CCC]  DiskMan
2005-04-09 20:54     ` Tavis Ormandy
2005-04-10  0:35       `  DiskMan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox