descriptionlightweight C preprocessor
homepage URLhttp://dotat.at/prog/unifdef/
repository URLgit://dotat.at/unifdef.git
ownerjrnieder@gmail.com
last changeFri, 6 Nov 2020 11:22:51 +0000 (6 11:22 +0000)
last refreshSun, 5 May 2024 18:53:33 +0000 (5 20:53 +0200)
content tags
add:
readme

The unifdef utility selectively processes conditional C preprocessor #if and #ifdef directives. It removes from a file both the directives and the additional text that they delimit, while otherwise leaving the file alone.

It is useful for avoiding distractions when studying code that uses #ifdef heavily for portability or as a lightweight preprocessor to strip out internal routines from a public header.

shortlog
2020-11-06 Tony FinchTravis CI is no moremastergithub/master
2020-02-19 Tony FinchREADME: note broken GitHub releases
2020-02-14 Tony Finchunifdef-2.12
2020-02-14 Tony Finchscripts: cleaner Changelogunifdef-2.12
2020-02-14 Tony FinchBump copyright dates
2020-02-14 Tony Finchman: note incomplete C++ raw string literal support
2020-02-14 Zenju C++11 raw string literal support
2017-04-24 Tony Finchdoc: clarify where to send bug reports
2017-03-21 Tony Finchunifdef.1: clarify backslash-newline behaviour in DESCR...
2017-02-06 Tony Finchweb: advertise pre-release version
2017-02-06 Tony FinchBump copyright dates
2017-02-06 Tony Finchunifdef: more fixes for weird whitespace
2016-02-26 Tony Finchportability: fix problems compiling with C++ compiler
2016-02-16 Tony Finchtest: need newlines in MinGW printf workaround
2016-02-16 Tony Finchtest: GNU printf(1) is POSIXly incorrect
2016-02-16 Tony Finchtest: ugly workaround for lack of chmod() in MinGW
...
tags
4 years ago unifdef-2.12 Four years of changes
8 years ago unifdef-2.11 unifdef-2.11 - better expression...
10 years ago unifdef-2.10 unifdef-2.10 - fixes for the -f...
10 years ago unifdef-2.9 unifdef-2.9 - macro indirection...
11 years ago unifdef-2.8 unifdef-2.8 - read #define and...
11 years ago unifdef-2.7 unifdef-2.7 - Windows support and...
13 years ago unifdef-2.6 unifdef-2.6 - fix -n -o and detect...
13 years ago unifdef-2.5 unifdef-2.5 - a little fix for...
13 years ago unifdef-2.4 unifdef-2.4 - various trivial fixes
14 years ago unifdef-2.3 unifdef-2.3 - build and distributio...
14 years ago unifdef-2.2 unifdef-2.2 - build fixes from...
14 years ago unifdef-2.1 unifdef-2.1 - the first git-based...
14 years ago unifdef-2.0 The final revision of unifdef from...
heads
3 years ago master
9 years ago wip
11 years ago FreeBSD