Header Guard plugin

From Code::Blocks
Revision as of 12:38, 29 October 2011 by Alpha (talk | contribs) (Moved to core.)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Header Guard
Generic-plugin.png
Developer(s):
Maintainer(s):
Version: 0.1.1

Adds a header guard to every .h file that doesn't have one when saving. Filenames are hashed to a 64-bit hex number to support umlaut characters (and Kanji, Cyrillic, or whatever) regardless of file encoding, and regardless of what's legal as a C/C++ macro name.

The Header Guard plugin is included in Code::Blocks' source code (src/plugins/headerguard/), however, it is not built by default to prevent unexpected behavior.