This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: error: conflicting types for '_RESTRICT_KYWD' on Solaris 10 U9
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Maciej (Matchek) Bliziński <maciej at opencsw dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 16 Nov 2011 10:16:47 +0000
- Subject: Re: error: conflicting types for '_RESTRICT_KYWD' on Solaris 10 U9
- References: <CALtRa-5WMWGQV-hoEk+y9iPAj8qjNWk3yWmhEsPf4NtRtG082g@mail.gmail.com>
2011/11/16 Maciej (Matchek) BliziÅski:
> I ran into this problem recently, with gcc-4.6.1 on Solaris 10 U9:
>
>> ~/usr-i386/bin/gcc-4.6 --version
The version number is far less useful than the output of -v, which
tells us how you built gcc.
>
> Searching on the web showed that this problem has been cropping up
> every now and then, e.g. this post is from 2004 which contains a
> patch:
>
> http://gcc.gnu.org/ml/libstdc++/2004-04/msg00154.html
That looks like a different problem.
Did you build GCC on Solaris 8 and install it on Solaris 10, or
something like that?
What is on the indicated lines of iso_string.h?