Compiling astyle-3.5-x64 using VS19Pro, level 4, give some compilation warnings where the four first can be problematic. The other two would also beneficial to get rid of.
AStyle\src\ASFormatter.cpp(4791,77): warning C4458: declaration of 'shouldPadParensOutside' hides class member
AStyle\src\ASFormatter.cpp(4791,106): warning C4458: declaration of 'shouldPadParensInside' hides class member
AStyle\src\ASFormatter.cpp(4791,134): warning C4458: declaration of 'shouldUnPadParens' hides class member
AStyle\src\ASFormatter.cpp(4791,158): warning C4458: declaration of 'shouldPadFirstParen' hides class member
AStyle\src\ASBeautifier.cpp(2105,67): warning C4100: 'line': unreferenced formal parameter
AStyle\src\astyle_main.cpp(3667,81): warning C4100: 'errorInfo': unreferenced formal parameter
Thanks!
Fixed in 3.5.1
Thanks for the rapid response and solution!