Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer vs source templates
Indexer vs source templates [message #1090049] Mon, 19 August 2013 16:39
Malte Forkel is currently offline Malte ForkelFriend
Messages: 10
Registered: January 2013
Junior Member

I've come across sources that use templates like this:

File src.c:
#include "superclass.h"

#define CLASS MyClass
#define SUPER SuperClass

#include "src_templ.c"

void MyClass::myfunc(void)

File src_tmpl.c:
class CLASS : public SUPER
  void myfunc(void);

Currently, everything except for the preprocessor statements is marked as a syntax error. I guess, I'd first have to convince the indexer to understand this kind of construct. What am I supposed to do?

Previous Topic:Questions about indexing time
Next Topic:Issue with Running C++ - Launch Failed. Binary Not Found
Goto Forum:

Current Time: Sat May 26 16:04:23 GMT 2018

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

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

Back to the top