Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » indexer glitch
indexer glitch [message #785679] Sun, 29 January 2012 04:40 Go to next message
Eclipse UserFriend
Hi,

In our C/C++ code we use a preprocessor macro DLL_API which gets
expanded as needed.
This means __declspec(dllexport)/__declspec(dllimport) on M$ Windows and
void/empty otherwise (Linux say, there are void/empty cases for Windows
too).
With using F3 multiple times i end up in the void/empty #define on
Linux, but in spite of this (and here is the problem) the indexer
considers the C++ phrase
class DLL_API MyClass
to be a syntax error and stops further processing.
Is this a known problem and is there a way to circumvent it?

Thanks and best regards

Franz
Re: indexer glitch [message #792019 is a reply to message #785679] Mon, 06 February 2012 09:16 Go to previous message
Eclipse UserFriend
Where do you define these macros? How do you distuinguish between Linux and Windows (i.e. which #ifdef)?
Previous Topic:Problem with running Elipse as root in Ubuntu Linux
Next Topic:Build without link
Goto Forum:
  


Current Time: Fri Jul 04 18:47:20 EDT 2025

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

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

Back to the top