That doesn't work either. It produces this: void function(void) { > if(!SomeVeryLongFunctionName(someType someVeryLongFunctionArg, > someType someOtherVeryLongFunctionArg)) > > do_something(); } That is, the continuation of the function arguments are not indented at all. That's really the source of my consternation. --indent-continuation=0 doesn't indent the continued arguments, and --indent-continuation=1 indents them with two tabs instead of one. I need a way to indent them with just one tab.
Perhaps so, but the core issue is that I currently cannot trust the behavior of the tool, because it isn't behaving in a deterministic manner. I need to understand what it's trying to do and why, or else I will not use it.
Clarification: minimal reproduction steps: Create test.c with: void function(void) { if(!SomeVeryLongFunctionName(someType someVeryLongFunctionArg, someType someOtherVeryLongFunctionArg)) do_something(); } Attempt to reformat using astyle --style=allman --indent=tab=2 --indent=force-tab=2 --remove-braces --indent-after-parens test.c Expected result: void function(void) { > if(!SomeVeryLongFunctionName(someType someVeryLongFunctionArg, > > someType someOtherVeryLongFunctionArg)) > > do_something();...
Continuation indenting with tabs doesn't always work as expected
Moving discussion to the mailing list.
These forums are deprecated and are read only by me. Please post questions such as this to the virtualgl-users mailing list or as a GitHub issue in the future. SourceForge, for whatever reason, does not remember my login (despite me instructing it to do so), so every time I have to log in to answer a question on these forums, it requires repeating the two-factor authentication process, which is a pain. As explained in the User's Guide, troubleshooting problems like this involves first verifying the...
Should already be fixed in the master branch, and a pre-release build is available with the fix: https://virtualgl.org/DeveloperInfo/PreReleases. Please post this sort of thing as a GitHub issue in the future. We use SourceForge solely for file releases these days.
BUILDING.md contains instructions on how to build libjpeg-turbo for Android. Also, I recommended that you take advantage of the libjpeg-turbo mailing lists (on Google Groups-- https://libjpeg-turbo.org/About/MailingLists) for community support, not these forums. These forums are a legacy feature, and generally only I read them.