A long time ago I tried both uncrustify and astyle. Building uncrustify on Solaris was a nightmare. It was full of Linuxisms and generated a shitload of warnings.
The final straw with uncrustify was when it broke our machine generated code and converted an expression like a - -b (note the space between the binary subtraction operator and the unary negation operator) into a --b resulting in a compiler error.
We then switched to astyle and had no problems with it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.