This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Parse error with xscale_be-g++ compiler
- From: sriram_ns at canada dot com
- To: gcc at gcc dot gnu dot org
- Date: Thu, 20 Mar 2003 02:47:55 -0800 (PST)
- Subject: Parse error with xscale_be-g++ compiler
Am facing Parse error with xscale_be-g++ compiler for a
class definition similar to the following. Compilation
for the same code using the g++ compiler gets thru'
without any error. Whether any compiler option is to be
used in this case ??.
Class S
{
public:
int E1(const S &s) const;
int E2(const S &s) const { return E3(); }
...
}
The compilation results in "parse error before &s". To
me it looks as if the souce file is not being treated
as a cpp file.
Whether someone has a solution for this??.
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com