Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
487 stars 57 forks source link

Fails with Powershell 7 #1300

Closed SlavaC1 closed 1 year ago

SlavaC1 commented 1 year ago

Fails with Powershell 7 enabled. Logs attached log.txt

mariru27 commented 1 year ago

Hi @SlavaC1,

Thank you for reporting this issue We are working towards a fix

Kind regards, Marina

mariru27 commented 1 year ago

What version of Clang Power Tool and Visual Studio you using?

SlavaC1 commented 1 year ago

VS 17.6.4 and CPT 2023.6.0. I think you can see it in the logs

mariru27 commented 1 year ago

It this log I can find a single problem, but it doesn't affect the build:

SetValueInvocationException: 
Line |
   3 |  $RawUI.CursorPosition = @{X=0;Y=0}
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception setting "CursorPosition": "The handle is invalid."

Did you find anything suspicious between cpt log generated by Powershell 7 vs Windows Powershell?

SlavaC1 commented 1 year ago

For some reason now it continues to build after this error. It failed after it before... no idea really

mariru27 commented 1 year ago

I have this error too, but it doesn't affect my build However, we will try not to show the error that can confuse our users

Thank you for reporting this problem, if you find any issues, don't hesitate to contact us

Kind regards Marina

SlavaC1 commented 1 year ago

Thanks a lot @mariru27