Version: (using KDE KDE 3.4.92) Installed from: Gentoo Packages Example: struct foo { int x; char y; }; int main() { int a = (int[]) { 1,2,3 } [2]; foo b = (foo) { 4711, 'b' }; } becomes struct foo { int x; char y; }; int main() { int a = (int[]) { 1,2,3 } [2]; foo b = (foo) { 4711, 'b' }; } This is very ugly, especially when used in function calls, where literals are most useful.
*** This bug has been marked as a duplicate of 108666 ***
Sure this is a duplicate? Here some new lines are introduced, but the program stays the same. In 108666 the contents of a string and the program is changed. But http://bugs.kde.org/show_bug.cgi?id=71574 is probably the same bug. Or is every "astyle messes up something" considered to be the same bug? :-)