Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311291

Summary: improve the compiler version compatibility warning
Product: [Technology] RTSC Reporter: Karl Wechsler <karl>
Component: TargetsAssignee: Vikram Adiga <vikram.adiga>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: d-russo, dfriedland, sascha
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: targets: 3.25.00
Attachments:
Description Flags
email with more info none

Description Karl Wechsler CLA 2010-05-01 16:45:11 EDT
Created attachment 166722 [details]
email with more info

see attached.   The error for incompatible target/codegen needs to be improved.
Comment 1 Dave Russo CLA 2010-05-04 18:29:31 EDT
Add continuation characters to error message so that it gets formatted nicely for the command line user. Upgrade the error parser to handle the error messages in the new format.
Comment 2 Vikram Adiga CLA 2012-01-20 13:26:50 EST
Updated the incompatible target version warning to include the version string from compiler.

The updated warning message:

Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: the compiler version [6.1.9] used by the current target 'ti.targets.C64P' is not compatible with compiler version of targets used to build the following packages; package ti.targets.rts6000 [in <some-path>/xdctargets-f13x/src/ti/targets/rts6000/] was built using the target 'ti.targets.C64P' with compiler version [7.0.3].
Comment 3 Vikram Adiga CLA 2012-01-20 13:31:10 EST
The formatting of the error message and upgrading the error parser will not be done at this time.
Comment 4 Vikram Adiga CLA 2012-01-24 14:19:30 EST
fix released in xdc-z04
Comment 5 Vikram Adiga CLA 2012-01-24 14:33:02 EST
Also, fix includes changes in target tree which will be released in xdctargets-f14
Comment 6 Karl Wechsler CLA 2013-03-12 21:06:05 EDT
verify pass.  the new error (below) is mucho better:

Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: the compiler version [4.9.1] used
by the current target 'ti.targets.arm.elf.M3' is not compatible with compiler ve
rsion of targets used to build the following packages; package ti.sysbios [in /d
b/vtree/library/trees/avalaprod/avalaprod-k26/exports/bios_6_35_01_26_eng/packag
es/ti/sysbios/] was built using the target 'ti.targets.arm.elf.M3' with compiler
 version [5.0.1].