Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » where is ObjectStyleMacro defined(which jar file contains ObjectStyleMacro in indigo / 3.7?)
where is ObjectStyleMacro defined [message #1111330] Wed, 18 September 2013 04:25 Go to next message
Gary Aitken is currently offline Gary AitkenFriend
Messages: 11
Registered: July 2009
Junior Member
I'm trying to build system support for freebsd and in trying to compile the freebsd version of
org/eclipse/cdt/internal/core/freebsd/ProcessList.java
I end up with:

./org.eclipse.cdt.core.source_5.1.2.201002161416.jar(org/eclipse/cdt/internal/core/parser/scanner/MacroDefinitionParser.java):111: cannot find symbol
symbol : class ObjectStyleMacro
location: class org.eclipse.cdt.internal.core.parser.scanner.MacroDefinitionParser
public ObjectStyleMacro parseMacroDefinition(final Lexer lexer, final ILexerLog log)

Can someone please tell me which jar file is supposed to contain ObjectStyleMacro?
It looks from the source in MacroDefinitionParser in
org.eclipse.cdt.core.source_5.1.2.201002161416.jar
that it should be in package
org.eclipse.cdt.internal.core.parser.scanner

I've scanned all the jars in
.../eclipse/dropins/sdk/plugins
.../eclipse/plugins
and don't see it (I may be blind...)
Re: where is ObjectStyleMacro defined [message #1112066 is a reply to message #1111330] Thu, 19 September 2013 04:45 Go to previous message
Gary Aitken is currently offline Gary AitkenFriend
Messages: 11
Registered: July 2009
Junior Member
It is located in:
org.eclipse.cdt.internal.core.parser.scanner.PreprocessorMacro
which is in both of the following jar files:
org.eclipse.cdt.core.source_5.1.2.201002161416.jar
org.eclipse.cdt.core_5.1.2.201002161416.jar

If you try to do a standard javac compile doing something like this for a classpath:
-cp "/usr/local/lib/eclipse/plugins/*"
it will barf all over itself because of the duplicate classes.
To get around it, temporarily rename the source to something like _unused.
Although this will probably wreck havoc with eclipse trying to debug itself.

Hope this isn't a duplicate post.
My login had expired; doesn't look like it went through the first time.
Previous Topic:Link Problem | #pragma comment (lib, "Ws2_32.lib")
Next Topic:C/C++ Remote Application Debugging
Goto Forum:
  


Current Time: Thu Apr 25 20:43:00 GMT 2024

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

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

Back to the top