| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2022-08-26 | [configure.ac] Only check for compiler options late in the processHEADmain | Dennis Camera | 1 | -56/+56 | |
| Setting too many options already breaks some of autoconf's standard checks, e.g. for stdbool.h. configure:5449: checking for stdbool.h that conforms to C99 configure:5565: gcc -c -g -O2 -Wall -Werror -pedantic -pedantic-errors -Werror=pedantic -Wformat=2 -Wformat-overflow=2 -fstack-protector-strong -fstack-clash-protection -fsanitize=leak -fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 conftest.c >&5 conftest.c: In function 'main': conftest.c:125:14: error: the address of 's' will always evaluate as 'true' [-Werror=address] 125 | bool ps = &s; | ^~~~ conftest.c:130:16: error: the address of 't' will always evaluate as 'true' [-Werror=address] 130 | _Bool pt = &t; | ^~~~~ conftest.c:137:22: error: the address of 'a' will always evaluate as 'true' [-Werror=address] 137 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ^ conftest.c:137:27: error: the address of 'b' will always evaluate as 'true' [-Werror=address] 137 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ^ conftest.c:137:32: error: the address of 'c' will always evaluate as 'true' [-Werror=address] 137 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ^ conftest.c:137:37: error: the address of 'd' will always evaluate as 'true' [-Werror=address] 137 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ^ conftest.c:137:62: error: the address of 'i' will always evaluate as 'true' [-Werror=address] 137 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k | ^ | |||||
| 2022-08-26 | [configure.ac] Check for VLA support | Dennis Camera | 1 | -1/+6 | |
| VLAs are already used in the code base. | |||||
| 2022-08-26 | [configure.ac] Check for POSIX conformance after feature checks | Dennis Camera | 1 | -24/+23 | |
| 2022-08-26 | Also check compiler support for -Wall -Werror | Dennis Camera | 2 | -1/+3 | |
| if the infrastructure is already there… | |||||
| 2022-08-26 | [configure.ac] Fix false positive for -fstack-clash-protection with Apple Clang | Dennis Camera | 1 | -3/+8 | |
| Newer (> ~10) versions of Clang don't exit if they see an unknown argument but only log a warning by default. So we check if the compiler supports -Werror=unused-command-line-argument and if so, we use it to check if the compiler options are supported. | |||||
| 2022-08-25 | [scripts/sdump] Add sdump script | Dennis Camera | 4 | -0/+298 | |
| 2022-08-25 | [configure.ac] Use -fsanitize if available | Dennis Camera | 1 | -0/+7 | |
| 2022-08-25 | Stilistic changes | Dennis Camera | 2 | -9/+8 | |
| 2022-08-25 | ...and the fixes for new compile errors :-) | Dennis Camera | 5 | -18/+49 | |
| 2022-08-25 | Enable more __attribute__s | Dennis Camera | 8 | -29/+97 | |
| 2022-08-25 | [configure.ac] Simplify DEBUG macro definition | Dennis Camera | 1 | -3/+3 | |
| 2022-08-25 | Use format __attribute__ instead of -Wformat-nonliteral hack | Dennis Camera | 6 | -11/+328 | |
| 2022-08-23 | [src/config.c] Update remote_out_path to /tmp/skonfig | Dennis Camera | 1 | -1/+1 | |
| ...to be consistent with Python skonfig. | |||||
| 2022-08-22 | Fix clang compile errors | Dennis Camera | 5 | -13/+35 | |
| 2022-08-22 | Implement command execution | Dennis Camera | 15 | -11/+715 | |
| 2022-08-21 | [src/run.c] Add more structure functions | Dennis Camera | 1 | -4/+63 | |
| 2022-08-21 | [src/run.c] Time configuration run | Dennis Camera | 1 | -10/+30 | |
| 2022-08-21 | [src/run.c] Move creatfile, mktempdir, rmtree to util/fs.c | Dennis Camera | 3 | -111/+130 | |
| 2022-08-21 | Work around void * arithmetic errors | Dennis Camera | 2 | -4/+6 | |
| ...but the data structure should probably be reworked instead of relying on the optional uintptr_t type :-/ | |||||
| 2022-08-21 | [src/log.h] Fix variadic macro error (-pedantic) | Dennis Camera | 1 | -5/+5 | |
| src/skonfig.c: In function ‘main’: src/skonfig.c:229:64: error: ISO C99 requires at least one argument for the "..." in a variadic macro 229 | sk_error("cannot find configuration directory."); | ^ | |||||
| 2022-08-21 | [configure.ac] Enable -pedantic, -pedantic-errors, -Werror=pedantic if ↵ | Dennis Camera | 1 | -0/+4 | |
| supported by $CC | |||||
| 2022-08-21 | [src/run.c] Generate and store object marker | Dennis Camera | 1 | -1/+51 | |
| 2022-08-21 | [src/run.c] Implement linking type runner to type commands | Dennis Camera | 2 | -1/+44 | |
| 2022-08-21 | [src/run.c] Implement linking SK_PATH into local_hostdir | Dennis Camera | 2 | -26/+146 | |
| 2022-08-20 | [src/run.c] Use pathjoin_r for simpler logic | Dennis Camera | 1 | -18/+30 | |
| 2022-08-20 | [src/util/string.c] Add _r variants for strjoin functions | Dennis Camera | 2 | -63/+144 | |
| 2022-08-20 | Create sub directories of local workdir | Dennis Camera | 1 | -8/+52 | |
| 2022-08-20 | Implement local workdir clean up | Dennis Camera | 2 | -0/+34 | |
| 2022-08-19 | Implement creation of local temporary workdir | Dennis Camera | 3 | -10/+159 | |
| 2022-08-19 | [configure.ac] Fix no AC_LANG_SOURCE call detected in body | Dennis Camera | 1 | -3/+3 | |
| configure.ac:29: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... | |||||
| 2022-08-18 | [Makefile.am] Remove manual setting of -O and -g CC flags | Dennis Camera | 1 | -6/+0 | |
| autoconf already checks and sets these options | |||||
| 2022-08-18 | [configure.ac] Check for correct POSIX conformance level | Dennis Camera | 2 | -1/+19 | |
| 2022-08-18 | [configure.ac] Check for some compiler security flags and use them if available | Dennis Camera | 2 | -1/+33 | |
| 2022-08-17 | Misc | Dennis Camera | 3 | -8/+20 | |
| 2022-08-17 | Compiler includes config.h in all modules | Dennis Camera | 6 | -10/+1 | |
| 2022-08-15 | Implement stub run module | Dennis Camera | 4 | -2/+78 | |
| 2022-08-14 | Implement logging module | Dennis Camera | 8 | -56/+391 | |
| 2022-08-03 | [configure.ac] Check if the compiling system supports shebangs | Dennis Camera | 1 | -0/+9 | |
| 2022-08-03 | [src/config.c] Add config module (does not parse INI files, yet) | Dennis Camera | 5 | -0/+502 | |
| 2022-08-03 | Move helper functions out to src/util/ | Dennis Camera | 9 | -48/+356 | |
| 2022-08-03 | [skonfig.c] Implement option parser | Dennis Camera | 3 | -10/+245 | |
| 2022-08-03 | Set package URL | Dennis Camera | 1 | -1/+1 | |
| 2022-08-03 | Rename main.c to skonfig.c | Dennis Camera | 3 | -2/+2 | |
| 2022-08-03 | Add debug builds | Dennis Camera | 3 | -0/+38 | |
| 2022-08-03 | Add Autotools framework | Dennis Camera | 10 | -0/+1330 | |
