. #19836

Closed
opened 2026-01-31 06:54:55 +00:00 by claunia · 2 comments
Owner

Originally created by @ghost on GitHub (May 8, 2023).

Originally created by @ghost on GitHub (May 8, 2023).
Author
Owner

@zadjii-msft commented on GitHub (May 8, 2023):

Which line of code exactly/?

10c6206bfe/src/cascadia/TerminalControl/TermControl.cpp (L859)
10c6206bfe/src/cascadia/TerminalControl/TermControl.cpp (L864)
10c6206bfe/src/cascadia/TerminalControl/TermControl.cpp (L868)

None of those have hstrings on them, and I can't repro this on main, at least, not in a VS build

@zadjii-msft commented on GitHub (May 8, 2023): Which line of code exactly/? https://github.com/microsoft/terminal/blob/10c6206bfef7d045347327687266832931f47eb6/src/cascadia/TerminalControl/TermControl.cpp#L859 https://github.com/microsoft/terminal/blob/10c6206bfef7d045347327687266832931f47eb6/src/cascadia/TerminalControl/TermControl.cpp#L864 https://github.com/microsoft/terminal/blob/10c6206bfef7d045347327687266832931f47eb6/src/cascadia/TerminalControl/TermControl.cpp#L868 None of those have `hstring`s on them, and I can't repro this on `main`, at least, not in a VS build
Author
Owner

@zadjii-msft commented on GitHub (May 9, 2023):

Ah, I missed an important bit that this is on the latest compiler version. This is also tracked internally at devdiv:1810844, though it's by design. Looks like we basically need to convert these to

message = winrt::hstring{ fmt::format(std::wstring_view{ RS_(L"PixelShaderCompileFailed") }) }; 
@zadjii-msft commented on GitHub (May 9, 2023): Ah, I missed an important bit that this is on the latest compiler version. This is also tracked internally at [devdiv:1810844](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1810844), though it's by design. Looks like we basically need to convert these to ```c++ message = winrt::hstring{ fmt::format(std::wstring_view{ RS_(L"PixelShaderCompileFailed") }) }; ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19836