Skip to main content



      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 07:57 Go to next message
Eclipse UserFriend
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 09:03 Go to previous message
Eclipse UserFriend
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: Mon Apr 14 17:31:49 EDT 2025

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

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

Back to the top