I'm using GNU indent 2.2.9 on Fedora 8.
I'm investigating using indent to set the canonical style for GCC.
GCC uses the GNU coding style, but with a couple local tweaks. It
would be nice if indent supported these.
* GCC doesn't put a blank after unary operators, in particular "!".
So instead of: if (! foo), gcc would use if (!foo).
* GCC puts a space around the ":" in a bitfield declaration. So
instead of:
unsigned int field:1;
we use
unsigned int field : 1;
Tom
_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent