This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61649] fixincludes update for solaris___restrict in sys/feature_tests.h on Illumos
- From: "richard at netbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Nov 2014 10:55:36 +0000
- Subject: [Bug c++/61649] fixincludes update for solaris___restrict in sys/feature_tests.h on Illumos
- Auto-submitted: auto-generated
- References: <bug-61649-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61649
--- Comment #1 from Richard PALO <richard at netbsd dot org> ---
given https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52168,
it seems necessary to update the test_text line with a newline appended
as follows so that check.sh doesn't balk:
>+ test_text = "#if (defined(__STDC__) && defined(_STDC_C99))\n"
>+ "#define _RESTRICT_KYWD restrict";