This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error: conflicting types for '_RESTRICT_KYWD' on Solaris 10 U9


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]