[Bug c++/61649] fixincludes update for solaris___restrict in sys/feature_tests.h on Illumos
richard at netbsd dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 25 12:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61649
--- Comment #4 from Richard PALO <richard at netbsd dot org> ---
>
> 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
Perhaps I should remind as well that the file is a diff with only a certain
number of lines as context... so in that respect, it isn't necessary either.
More information about the Gcc-bugs
mailing list