Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Avoid showing errors in editor that are caused because of preprocessed directives
Avoid showing errors in editor that are caused because of preprocessed directives [message #575827] Tue, 18 August 2009 11:57 Go to next message
David Lucena is currently offline David LucenaFriend
Messages: 74
Registered: August 2009
Member
Hi. My name's David. I recently started using MTJ, and as I needed the preprocessor, I developed some code including directives. The build tree shows no errors, and I can launch the Midlet without a problem because no real errors exist when the code is already preprocessed.

The problem arises in code editor windows. Seems that the code there is trying to be compiled in search of correctness before it is preprocessed.

Is there a way to make eclipse editor windows be affected with the preprocessor from MJT so that this kind of "phantom errors" are not shown?

Thank you in advance.
Re: Avoid showing errors in editor that are c aused because of preprocessed directives [message #575844 is a reply to message #575827] Tue, 18 August 2009 13:03 Go to previous message
David Marques is currently offline David MarquesFriend
Messages: 80
Registered: July 2009
Member
Hi David,

Unfortunately due to some JDT constraints it is not possible yet. Please
see thread
( http://dev.eclipse.org/mhonarc/lists/dsdp-mtj-dev/msg01287.h tml).

Best Regards,

David Marques

David Lucena wrote:

> Hi. My name's David. I recently started using MTJ, and as I needed the
preprocessor, I developed some code including directives. The build tree shows
no errors, and I can launch the Midlet without a problem because no real
errors exist when the code is already preprocessed.

> The problem arises in code editor windows. Seems that the code there is
trying to be compiled in search of correctness before it is preprocessed.

> Is there a way to make eclipse editor windows be affected with the
preprocessor from MJT so that this kind of "phantom errors" are not shown?

> Thank you in advance.
Previous Topic:Cannot import device
Next Topic:Avoid showing errors in editor that are caused because of preprocessing directives
Goto Forum:
  


Current Time: Sat Apr 20 15:39:40 GMT 2024

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

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

Back to the top