Skip to content

Compiler: prepare for 32-bit target support - #539

Open
chqrlie wants to merge 1 commit into
c2lang:masterfrom
chqrlie:32bit-sizes
Open

chqrlie wants to merge 1 commit into
c2lang:masterfrom
chqrlie:32bit-sizes

Conversation

@chqrlie

@chqrlie chqrlie commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
  • add architecture specific static_assert size checks
  • extend tester to handle architecture specific checks: add error32/error64, warning32/warning64, note32/note64 add expect32/expect64
  • update tests accordingly
  • add libs/libc/sys_types.c2i
  • improve library type consistency
  • add i386 target architecture

@chqrlie
chqrlie force-pushed the 32bit-sizes branch 2 times, most recently from 0d5c190 to 374cd1f Compare July 14, 2026 14:10
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 5 times, most recently from a73d525 to d40cae5 Compare July 26, 2026 13:03
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 4 times, most recently from 6dc65e1 to 1725967 Compare August 4, 2026 13:30
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 6 times, most recently from ece8679 to f970e32 Compare October 6, 2026 09:48
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 9 times, most recently from 3ad7594 to ef7d31b Compare October 14, 2026 15:07
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 3 times, most recently from fa98238 to 86f6c90 Compare October 21, 2026 05:56
@chqrlie
chqrlie force-pushed the 32bit-sizes branch 4 times, most recently from dc51608 to b7b1d4a Compare October 25, 2026 07:44
* add architecture specific `static_assert` size checks
* extend `tester` to handle architecture specific checks:
  add `error32`/`error64`, `warning32`/`warning64`, `note32`/`note64`
  and `expect32`/`expect64`
* update tests accordingly
* add **libs/libc/sys_types.c2i**
* improve library type consistency
* add i386 target architecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant