Thanks mE for the very capable and rock-solid Pro V2.0.
1. Some quick observations:
1.1 Program organisation/structure and code/data visibility now works cleanly and consistently due to improved prototypes, includes and implements handling;
1.2 Data structure now works well with byte-size members; together with typedefs, pointers and "at" qualifiers, V2 provides very powerful capabilities for organising data structures;
1.3 Code expression evaluation, automatic typecasting promotion/clipping, works as expected, no surprises , 32int = 16int * 16int works, "+" concat operator works for multiple string operands;
1.4 Optimizer now doesn't overuse SFRs when eliminating temp variables, this is very important for buffers like ICBUFs, RXBUFs, ADCBUFs;
2. A couple of obscure problems:
2.1 V5 IDE recompiles all modules that are visible in the IDE, regardless of whether the modules have been modified or not. Pro V2 only recompiles the modules that have been modified. So if module YY contains eg:
Code: Select all
module YY
#IFDEF P30F6014A
#I 6014A.sym
include lcd_x
include uart_30
#ENDIF
#IFDEF P33FJ128MC708
#I MC708.sym
include lcd_x
include uart_33
#ENDIF
2.2 There was an earlier report about #I and error line locations, similarly the compiler line locations for errors do not allow for the #IFDEF #ENDIF lines.