View Issue Details

IDProjectCategoryView StatusLast Update
0000251GC StudioCompilerpublic2022-08-24 05:48
Reporterangel-spartan Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version99.02.32.2 
Target Version99.02.33.1Fixed in Version99.02.33.1 
Summary0000251: A set of changes – to resolve some long standing issues or omissions.[1384, 1385]
DescriptionA set of changes – to resolve some long standing issues or omissions.[1384, 1385]
Added
- A IFDEFs debugger – can now optionally show IFDEFs result in preprocessor. Add conditionaldebugfile= filename to [gcbasic] in the ini file.
- Conditional compilation now supports #ELSE and #IFNOT – makes conditional compilation so much better.
- Conditional compilation has traps for incorrect use of #ELSE - just needed.
- A new directive #INSERT to support insertion of a file directly into the place where the statement exists – this enables some new use cases like Ladder Support.
- #UNDEFINE for constant removal and then potential reassignment of the constant. – needed for a long time to reduce the dependency on scripts.
- #OPTION USERINCLUDE (to support an include to be treated as-if the same as user program [needed to resolve #UNDEFINE] – works like #OPTION EXPLICIT.
-
Improved
- Constant error handling to prevent silent errors.
- Improved ReservedWords compliance.
- Handling of DEFINE is radically different. Defines outside of conditional statements are handled as-is. Defines inside of conditional statements are handled during IFDEFs method.
Improved
- A IFDEFs debugger – ADDED more information. You can now optionally show IFDEFs result in preprocessor. Add conditionaldebugfile= filename to [gcbasic] in the ini file.
- Conditional compilation now supports #ELSE and #IFNOT – makes conditional compilation so much better.
- Conditional compilation has traps for incorrect use of #ELSE - just needed.
- A new directive #INSERT to support insertion of a file directly into the place where the statement exists – this enables some new use cases like Ladder Support.
- #UNDEFINE for constant removal and then potential reassignment of the constant. – needed for a long time to reduce the dependency on scripts.
- #OPTION USERINCLUDE (to support an include to be treated as-if the same as user program [needed to resolve #UNDEFINE] – works like #OPTION EXPLICIT.
- Constant error handling to prevent silent errors.
- Improved ReservedWords compliance.
Bug fix for AVR MUL maths overvwritting R0 and R1.
Added
- CurrentTag = "libaries". A one entry section to disable a library. disable=a-d.h

- Many libraries updated to ensure the library specific constants operate as expected - no functional changes to the libraries

adafruit_mini_colortft_joystick_featherwing.h
alps-ec11.h
bme280.h
chipino.h
glcd.h
glcd_ili9481.h
glcd_ili9486l.h
glcd_nt7108c.h
glcd_ssd1306_twin.h
glcd_st7735.h
glcd_st7920.h
hmc5883l.h
hwi2c_messageinterface.h
lgt8f328p.h
lgt8fx8p.h
lowlevel/a-d.h
lowlevel/hwi2c.h
lowlevel/hwi2c2.h
lowlevel/hwspi.h
lowlevel/i2c.h
lowlevel/lcd.h
lowlevel/pwm.h
lowlevel/pwm16.h
lowlevel/random.h
lowlevel/sound.h
lowlevel/timer.h
lowlevel/usart.h
max7219_ledmatrix_driver.h
mcp23008.h
mcp4xxxdigitalpot.h
pca9685.h
pcf8574.h
pcf85x3.h
softserialch1.h
softserialch2.h
softserialch3.h
uno_mega328p.h
usb.h
xpt2046.h
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-08-24 02:01 angel-spartan New Issue
2022-08-24 02:02 angel-spartan Status new => resolved
2022-08-24 02:02 angel-spartan Resolution open => fixed
2022-08-24 02:02 angel-spartan Fixed in Version => 99.02.33.1
2022-08-24 02:03 angel-spartan Description Updated
2022-08-24 05:48 angel-spartan Status resolved => closed