[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[cdt-dev] Error while building Product using Product Configuration
|
Title: Error while building Product using Product Configuration
Hi everybody,
I have created my own IDE by integrating a cross compiler toolchain with CDT. I did some changes in the existing plug-ins like org.eclipse.cdt.core and org.eclipse.cdt.ui . When I try to create a product using product configuration it is getting created successfully. When I try to export the product configuration it gives following error
'Errors occurred during operation and a .zip file containing build log has generated'
In the log generated it gives following errors and warnings for “assert” keyword.
15. ERROR in D:\Eclipse Workspaces\ManishWksp\org.eclipse.cdt.core\src\org\eclipse\cdt\core\parser\util\ArrayUtil.java (at line 94)
assert array[currentLength] == null;
^^^^^^
Syntax error on token "assert", AssignmentOperator expected after this token
----------
16. ERROR in D:\Eclipse Workspaces\ManishWksp\org.eclipse.cdt.core\src\org\eclipse\cdt\core\parser\util\ArrayUtil.java (at line 95)
assert currentLength == 0 || array[currentLength-1] != null;
^^
Syntax error on token "==", = expected
----------
17. WARNING in D:\Eclipse Workspaces\ManishWksp\org.eclipse.cdt.core\src\org\eclipse\cdt\core\parser\util\ArrayUtil.java (at line 135)
assert i>=0;
^^^^^^
'assert' should not be used as an identifier, since it is a reserved keyword from source level 1.4 on
----------
18. ERROR in D:\Eclipse Workspaces\ManishWksp\org.eclipse.cdt.core\src\org\eclipse\cdt\core\parser\util\ArrayUtil.java (at line 135)
assert i>=0;
^^
Syntax error on token ">=", = expected
----------
----------The field CdtVariableStatus.STATUS_MACROS_REFERENCE_EACHOTHER is never read locally
----------
4. WARNING in D:\Eclipse Workspaces\ManishWksp\org.eclipse.cdt.core\src\org\eclipse\cdt\core\cdtvariables\CdtVariableStatus.java (at line 30)
private static final String STATUS_MACRO_REFERENCE_INCORRECT = STATUS + ".reference.incorrect"; //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
My plug-ins are compiled using Java 5.0. I tried with java 1.4.2_06 I get the same problem.
Please let me know if I am doing anything wrong.
Thanks in advance.
Regards,
Rekha