- Nov 25, 2023
-
-
Marvin Häuser authored
C++ 98 requires all source files to terminate with a new-line character. It also does not allow for semicolons outside of declarations that require it (and in function scopes). Fix them to allow for pedantic warnings to be enabled when beneficial. Finally, it does not allow for object-to-function casts. The first two warnings are resolved trivially. For the third, the solution to cast through a pointer address is technically unsafe, as systems are not required to support object pointers (e.g. void *) being able to represent function pointers. However, the existence of dlsym() virtually implies this is supported on the target system (technically, all symbols could be data symbols, but that is nitpicking).
-
Marvin Häuser authored
Stochastic guards are supposed to be generated in a way that the if branches are disjoint and exhaustive. Compilers have trouble verifying the latter property, as they usually do not pick up postconditions on return value of myrand(0, 99). To silence warnings regarded control paths that do not return a value, and to add hardening against code generation bugs that actually violate exhaustion of the if branches, assert() and abort() at the end of such functions.
-
Marvin Häuser authored
Commit f1db3a0a adjusted ActionFuncPointer to generally return a delay. However, this is only done for TMLDelayAction generation, leaving the other producers of ActionFuncPointer emitting functions without a return value despite the changed return type. To address this, distinguish between ActionFuncPointer and DelayActionFuncPointer.
-
Marvin Häuser authored
Arrays of length 0 yield implementation-defined behaviour, which causes a compiler warning. In C, this was typically used to model flexibly-sized array members trailing a struct. Here, length 0 actually means it occupies no storage. Hence, do not emit the _channels array when it would otherwise have a length of 0.
-
Ludovic Apvrille authored
-
- Nov 24, 2023
-
-
Ludovic Apvrille authored
-
- Nov 23, 2023
-
-
Ludovic Apvrille authored
-
- Nov 22, 2023
-
-
Ludovic Apvrille authored
-
- Nov 21, 2023
-
-
Ludovic Apvrille authored
-
- Nov 20, 2023
-
-
Ludovic Apvrille authored
-
Ludovic Apvrille authored
-
- Nov 19, 2023
-
-
Ludovic Apvrille authored
-
- Nov 18, 2023
-
-
Ludovic Apvrille authored
-
- Nov 17, 2023
-
-
Ludovic Apvrille authored
-
- Nov 16, 2023
-
-
Ludovic Apvrille authored
-
- Nov 15, 2023
-
-
jerray authored
-
jerray authored
-
jerray authored
-
jerray authored
-
Currently, terminal support is broken on macOS and Linux on AARCH64, because JNA 3.3.0 does not support this architecture. Update the library to the latest version, which supports AARCH64 and enables terminal support.
-
Ludovic Apvrille authored
-
jawher-j authored
-
- Nov 14, 2023
-
-
Ludovic Apvrille authored
This reverts merge request !471
-
Ludovic Apvrille authored
-
Ludovic Apvrille authored
-
Ludovic Apvrille authored
-
jerray authored
-
Ludovic Apvrille authored
-
- Nov 13, 2023
-
-
jerray authored
-
jerray authored
-
jerray authored
-
Ludovic Apvrille authored
-
- Nov 12, 2023
-
-
Currently, terminal support is broken on macOS and Linux on AARCH64, because JNA 3.3.0 does not support this architecture. Update the library to the latest version, which supports AARCH64 and enables terminal support.
-
Ludovic Apvrille authored
-
- Nov 11, 2023
-
-
Ludovic Apvrille authored
-
- Nov 10, 2023
-
-
jerray authored
-
Ludovic Apvrille authored
-
- Nov 09, 2023
-
-
Ludovic Apvrille authored
-
Ludovic Apvrille authored
-
Ludovic Apvrille authored
-