Sunifdef 2.1.2 review

Download
by rbytes.net on

Sunifdef is a command line tool for simplifying the preprocessor conditionals in C/C++ source code (#if and related directives) based

License: BSD License
File size: 78K
Developer: Mike Kinghan
0 stars award from rbytes.net

Sunifdef is a command line tool for simplifying the preprocessor conditionals in C/C++ source code (#if and related directives) based on the the user's chosen interpretation of the preprocessor symbols.

Sunifdef is a more powerful successor to the FreeBSD 'unifdef' tool. Sunifdef is most useful to developers of constantly evolving products with large code bases, where preprocessor conditionals are used to configure the feature sets, APIs or implementations of different releases.

In these environments, the code base steadily accumulates #ifdef-pollution as transient configuration options become obselete. Sunifdef can largely automate the recurrent task of purging redundant #if-logic from the code.

Installation:

Download the tarball to a location under your home directory
Extract the directory sunifdef from the tarball. Do not rename it.
To install from source:
Open a command console and cd into the sunifdef directory
Run ./configure
If all is well, run make
If all is well, run su and enter the root password when prompted (to become root).
Run make install
To install the pre-built executable:
As root, copy built-bin/sunfidef from the sunifdef directory into /usr/local/bin.
Set permissions on /usr/local/bin/sunifdef to make it executable.

As root, copy man/sunifdef.1 from the sunifdef directory into /usr/local/man/man1
To test that Sunifdef is installed:
Run sunifdef -v, and expect output like:
sunifdef, version 0.1.3 (built Feb 22 2006, 19:47:48)
sunifdef: Completed, exit code 0x0000
Run man sunifdef, and expect to see the sunifdef man page.

What's New in This Release:
Fix: DEF0022: Fixed warnings for 64-bit build and unused function results.
Fix: DEF0023: Fixed infringements of C89

Sunifdef 2.1.2 keywords