You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix internal declaration of lbound() & ubound() rtl to accept const arrays
- rtl-const: lbound() & ubound() rtl functions should accept const arrays
- internal lbound() and ubound() run-time functions were being declared expecting non-const bydesc array() as any.
- added regression test
- reference: https://www.freebasic.net/forum/viewtopic.php?p=254260#p254260
- mangling: mangle top-level const in to internal array descriptor structs to avoid C backend name conflicts where types differ only by const
- suppress const warnings for internal array indexing
- Fix #823: Function overload resolution for [const] array() and passing non-const array argument to const array parameter
Copy file name to clipboardExpand all lines: changelog.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,8 @@ Version 1.06.0
81
81
- #883: when mapping 32 & 64 bit functions for PALETTE [GET] USING, check the data type pointed to and choose one of LONG PTR, LONGINT PTR, INTEGER PTR
82
82
- #866: fbc was throwing lexer errors in comments stating with $. Comments are lexed for directives; allow suffixes in comments
83
83
- #858: C backend: fix internal structure size mismatch due to wrong padding when nesting packed structures
84
+
- C backend: fix array descriptor mangling to avoid naming conflicts where array data types differ only by const
85
+
- #823: Function overload resolution for [const] array() and passing non-const array argument to const array parameter
0 commit comments