Re: Installation Problems under Solaris
- From: Drazen Kacar <dave srce hr>
- To: Valdis Kletnieks vt edu
- Cc: Drazen Kacar <dave srce hr>, Haydn Haines - Sun UK - Partner Support - Intern <Haydn Haines uk sun com>, gtk-list gnome org
- Subject: Re: Installation Problems under Solaris
- Date: Tue, 3 Oct 2000 16:14:39 +0200
Valdis Kletnieks vt edu wrote:
> On Tue, 03 Oct 2000 15:58:43 +0200, Drazen Kacar said:
>
> > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/sys/stream.h:
> > I'm not sure about that. gcc 2.95.x doesn't need fixincludes on Solaris.
>
> Umm.. if it doesn't need fixincludes, why did a copy of stream.h end up
> where fixincludes stashes stuff? Think about that for a while ;)
That's the only file in ../include/sys directory. I don't have the exact
OS and compiler versions which the original poster used, but the contents
on Solaris 7 gcc 2.95.1 installation is:
#ifndef _SYS_STREAM_H_WRAPPER
#ifdef __cplusplus
# define queue __stream_queue
#endif
#include_next <sys/stream.h>
#ifdef __cplusplus
# undef queue
#endif
#define _SYS_STREAM_H_WRAPPER
#endif /* _SYS_STREAM_H_WRAPPER */
So I think it's only for C++, but not C code. And that's because there's
a collision between identifiers used by g++ include files and OS include
files. But it has nothing to do with C code. My gcc installation is OK,
I think. Nobody ever had a problem with it.
--
.-. .-. I don't work for my employer.
(_ \ / _)
| dave srce hr
| dave fly srk fer hr
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]