tinycc/include
Petr Skocik b39da9f6fa
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86_64-win32 (push) Has been cancelled
build and test / test-i386-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
Fix false warnings with readonly atomics
Code like:

    #include <stdatomic.h>
    _Atomic const int ai; int aiGet(void){ return atomic_load(&ai); }

has been raising "warning: assignment of read-only location".

This is due to `__typeof__ (*ptr) tmp;` not rvalue-converting the target
type.
2026-04-28 08:40:53 +02:00
..
float.h Define LDBL_MAX_10_EXP for aarch64, riscv 2024-12-12 18:25:20 -08:00
stdalign.h add C11 stdalign.h header 2019-09-08 15:04:06 +03:00
stdarg.h stdarg: always have the __builtin_va_* available 2020-04-15 22:06:52 +02:00
stdatomic.h Fix false warnings with readonly atomics 2026-04-28 08:40:53 +02:00
stdbool.h stdbool.h: Make conformant to ISOC99 2014-04-07 00:30:31 +02:00
stddef.h Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
stdnoreturn.h C11 conformance: Add _Noreturn, stdnoreturn.h, and partial _Alignas support 2019-03-20 15:03:27 -04:00
tccdefs.h Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
tgmath.h Overhauled WIN32 math and added missing functions: 2020-11-20 23:34:35 +01:00
varargs.h win64: use new headers from mingw 2009-07-18 22:06:37 +02:00