Re: Re[3]: gtk+3.0.9 compile error on Sparc Solaris10 by solstudio12.2

At Wed, 20 Apr 2011 01:05:12 +0900,
Mizuho Matsunaga wrote:
> gmake[4]: Entering directory `/opt/src/gtk+-3.0.9/gtk'
>   CC     gtksearchenginesimple.lo
> "/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or options invalid for pre-UNIX 03 X
> /Open applications  and pre-2001 POSIX applications"
> cc: acomp failed for gtksearchenginesimple.c
> What is it?

quick googling told me the following link:

> The Solaris 10 system ANSI C compiler (cc) is no longer tolerant of
> implicit support for ISO C99 standard features. The compiler now
> requires that you explicitly enable C99 features by using either the
> -xc99 flag or by some other means, such as an _XOPEN_SOURCE=600
> macro, even if you do not use any of these features.

would you mind to test this?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]