This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49347] G++-4.6 Solaris incorrectly defines _RESTRICT_KYWD to __restrict
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 9 Jun 2011 18:35:32 +0000
- Subject: [Bug c++/49347] G++-4.6 Solaris incorrectly defines _RESTRICT_KYWD to __restrict
- Auto-submitted: auto-generated
- References: <bug-49347-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-09 18:35:15 UTC ---
you only reported the bug a few minutes ago, so no, nothing's planned yet!
reduced:
int f( int envp[__restrict] );
p.cc:1:17: error: expected primary-expression before '__restrict'
p.cc:1:17: error: expected ']' before '__restrict'
p.cc:1:17: error: expected ')' before '__restrict'
p.cc:1:27: error: expected initializer before ']' token
The summary should really be adjusted, although this caused a problem on
Solaris the G++ bug isn't Solaris-specific