The final conclusion is the mistake of seeing the bottom
I tried to replicate your problem and could not get the behavior you are talking about (updating the OP question denies this)
Edit: (removed content to update)
Parameter names have changed between 1.22 and 1.23.
If none of them solves the problem, try downloading more code as an example, or try repeating your problem using only the code you inserted here. (Done by OP)
I also found that the order of the options seems to make a difference sometimes. For example:
astyle --indent=tab --style=ansi test.cpp
- this is not the same as:
astyle --style=ansi --indent=tab test.cpp
Setting the second "-style = ansi" actually negates the "-indent = tab".
I would not be surprised if this could be your problem.
... But after playing with this for 20 minutes, I am convinced that this is astil error .
Edit to include error link: error Thanks Markh44
source share