in reply to installing libiconv library
Just FYI, the _RESTRICT_KYWD is a macro declared in /usr/include/sys/feature_tests.h on newer (v10) Solaris systems (feature_tests.h itself is included from /usr/include/iso/stdio_iso.h):
/* * The following macro defines a value for the ISO C99 restrict * keyword so that _RESTRICT_KYWD resolves to "restrict" if * an ISO C99 compiler is used and "" (null string) if any other * compiler is used. This allows for the use of single prototype * declarations regardless of compiler version. */ #if (defined(__STDC__) && defined(_STDC_C99)) #define _RESTRICT_KYWD restrict #else #define _RESTRICT_KYWD #endif
However, as plobsing hinted at, you can probably get away without it.
(This is a rather common source of various compilation problems, unfortunately.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: installing libiconv library
by krishi (Novice) on Dec 12, 2007 at 13:26 UTC |