http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56815
--- Comment #1 from __vic <d.v.a at ngs dot ru> 2013-04-02 17:00:23 UTC ---
Slightly modified:
int main()
{
void *p = 0;
p++;
}
$ gcc -std=c++98 source.cpp
source.cpp:4:6: error: arithmetic on a pointer to void
p++;
~^