Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Syntax error encountered in file ...
Syntax error encountered in file ... [message #155911] Fri, 07 October 2005 15:03
Eclipse UserFriend
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
Previous Topic:Portal problems?
Next Topic:Is it possible to work with SFU, or Windows Services for Unix?
Goto Forum:
  


Current Time: Fri Aug 01 00:12:46 EDT 2025

Powered by FUDForum. Page generated in 0.27462 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top