This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]