funny syntactical error message
Ulrich Lauther
ulrich.lauther@mchp.siemens.de
Wed Mar 8 03:35:00 GMT 2000
Compilation of
class foo {
public:
int fudge[40];
int bar [40];
inline int access(int i) {
return bar(i);
}
};
gives
test.C:7: `(this + 160)' cannot be used as a function
if fudge is ommitted, you get
test.C:7: `this' cannot be used as a function
Why not "bar cannot be used as a function?"
(this is 2.95.1)
--
-lauther
----------------------------------------------------------------------------
Ulrich Lauther ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZT SE 4 Internet: Ulrich.Lauther@mchp.siemens.de
More information about the Gcc
mailing list