Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Compaq C and standard GLIBC Headers...
@ 2005-03-02 22:13  DiskMan
  2005-03-02 22:13 ` Mathieu Chouquet-Stringer
  2005-04-08 21:33 ` Tavis Ormandy
  0 siblings, 2 replies; 11+ messages in thread
From:  DiskMan @ 2005-03-02 22:13 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-04-10  0:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 22:13 Compaq C and standard GLIBC Headers  DiskMan
2005-03-02 22:13 ` 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

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