Patrick Pelissier
6d621703eb
Copyright go to 2025 year
2025-03-01 11:03:38 +01:00
Patrick Pelissier
033deac9f5
Workaround for GCC 12 bug in warning
2025-02-03 23:06:41 +01:00
Patrick Pelissier
52b58c5a51
Happy new year 2024
2024-01-19 21:37:47 +01:00
Patrick Pelissier
5f4303624f
Adding macro M_CHAIN_OBJ
2023-10-14 15:55:59 +02:00
Patrick Pelissier
1454bcebe4
Add unique name identifier
...
in order to avoid Wshadow warning
in generated code.
2023-10-14 15:30:57 +02:00
Patrick Pelissier
bf68340106
Add macro M_CHAIN_INIT for support of partially constructed object.
2023-09-09 18:40:32 +02:00
Patrick Pelissier
b6046e5e23
Fix new warnings with GCC13
2023-05-13 00:52:06 +02:00
Patrick Pelissier
d9c3724cff
Compatiblity with C++
2023-04-15 23:18:45 +02:00
Patrick Pelissier
1ff9848384
Update test so that it tests also the case of throwing without any try section (override M_RAISE_FATAL)
2023-04-15 22:51:57 +02:00
Patrick Pelissier
1322afc4c9
Improve coverage of test suite
2023-04-11 21:53:14 +02:00
Patrick Pelissier
9f8b97ae46
Rename fields of m_exception_t:
...
data->context
n->num
2023-03-18 18:11:23 +01:00
Patrick Pelissier
030bea9c11
Add test for M_DEFER & M_LET_IF in exceptions
2023-03-18 17:57:46 +01:00
Patrick Pelissier
b7214ad11d
Adding test of NOCLEAR property
2023-03-18 17:20:30 +01:00
Patrick Pelissier
42111ec22a
Rename field of m_exception_t
2023-03-17 22:13:18 +01:00
Patrick Pelissier
bfa948dc7a
Add WIP implementation for the exception memory model:
...
add header m-try that defines the M_TRY / M_CATCH macros
that macros similarly to the C++ try / catch keywords.
Add implementation for C++, GCC, CLANG and pure C compiler.
2023-03-13 23:31:50 +01:00