Avoid showing errors in editor that are caused because of preprocessed directives [message #575827] |
Tue, 18 August 2009 07:57  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03062 seconds