> > When compiling this function, the following compilation error was reported: > > > > demo.cc:1: error: syntax error before `||' token > > > > As the problem is not occurring with another type of compiler and as the > > identifier(s) aren't keywords > > In fact, they are in C++.
And you can turn them off using -fno-operator-names while you bring your code into line with the ISO standard. (For some reason --help documents the default as off rather than on.) Phil