Syntax error encountered in file ... [message #155911] |
Fri, 07 October 2005 15:03 |
Eclipse User |
|
|
|
Originally posted by: ringo.desmet.nospam.tnx
Hello,
I have Eclipse 3.2M2 installed for a while now on my PowerBook running
MacOS X 10.4.2. Today, I installed CDT 3.0.0 on it through the Update
Manager and it went fine.
I created a Managed C++ project, added a source folder and then used
the New Class wizard to create a class called "BaseClass". It generated
the header and cpp file fine, but directly after that, Eclipse reported
a syntax error on line 4 of the header file. Here are the contents:
#ifndef BASECLASS_H_
#define BASECLASS_H_
class BaseClass
{
public:
BaseClass();
virtual ~BaseClass();
};
#endif /*BASECLASS_H_*/
The error was on the start of the class definition. I tried the same on
Windows portable from work, running Eclipse 3.1.1 with CDT 3.0.0 and
Cygwin. Created the same class there and it seems fine.
Can there be anything different on Mac?
Incompatibility of CDT with 3.2M2?
Ringo
|
|
|
Powered by
FUDForum. Page generated in 0.03705 seconds