unifdef
unifdef copied to clipboard
selectively remove C preprocessor conditionals
Introduce a new function `strtol_with_suffix` to convert a string to a long integer while allowing for certain suffix characters ('L', 'l', 'U', 'u') to be ignored. This function will return...
add missing div-by-zero check in `op_mod()`.
ln: failed to create symbolic link '/home/thomas/Documents/buildroot/output/host/share/man/man1/unifdefall.1': File exists Seen while trying to add this package to buildroot.org. Signed-off-by: Thomas Devoogdt
Allows for easy {cross-,}compilation for Windows and a lot of other systems Adds a meson.build file that actually contains the directives for meson and the reversion.sh script written in basic...
Linux ls(1) adds trailing '.' to the first -- "drwxrwxrwx" output column -- a character that does not exist in *BSD ls -l output. The sed expression 's/[.]\? .*//' removes...
Hi, unifdef works great with my C++20 code base! There is just a minor issue with C++14 quoted integer literals: "Unterminated char literal", e.g. when a C++ source file contains:...
``` Currently, lines like "#if true_condition" are removed; there are cases in which this is not desired, even though you defined true_condition. This adds a new command line switch, -z...
This fixes building with upcoming GCC 15 which defaults to -std=gnu23.