https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61649
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |korbb at gcc dot gnu.org
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Richard PALO from comment #0)
>
> The test/base/sys/feature_tests.h patch is as follows:
> --- fixincludes/tests/base/sys/feature_tests.h.orig 2010-06-21
> 15:27:29.000000000 +0000
> +++ fixincludes/tests/base/sys/feature_tests.h
> @@ -10,6 +10,7 @@
>
>
> #if defined( SOLARIS___RESTRICT_CHECK )
> +#if (defined(__STDC__) && defined(_STDC_C99))
> #ifdef __cplusplus
> #define _RESTRICT_KYWD __restrict
> #else
Shouldn't there be a corresponding #endif added to that file?