------- Comment #7 from redi at gcc dot gnu dot org 2010-08-16 18:13 ------- Ah I see the problem now, sorry. Even when we're using C99 features, 'restrict' is never a keyword for C++.
Does __restrict even have any effect on declarations (rather than definitions)? If not, there is no semantic difference even with a change to __restrict -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45300