File tree Expand file tree Collapse file tree 9 files changed +25
-8
lines changed
.github/actions/spelling/expect Expand file tree Collapse file tree 9 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -822,6 +822,7 @@ INPUTSCOPE
822822INSERTMODE
823823INTERACTIVITYBASE
824824INTERCEPTCOPYPASTE
825+ internalevent
825826INTERNALNAME
826827intsafe
827828INVALIDARG
@@ -960,6 +961,7 @@ lstatus
960961lstrcmp
961962lstrcmpi
962963LTEXT
964+ lto
963965ltsc
964966LUID
965967luma
@@ -1708,6 +1710,7 @@ titlebars
17081710TITLEISLINKNAME
17091711TLDP
17101712TLEN
1713+ Tlgg
17111714TMAE
17121715TMPF
17131716tmultiple
@@ -1970,6 +1973,7 @@ WRITECONSOLEOUTPUT
19701973WRITECONSOLEOUTPUTSTRING
19711974wrkstr
19721975WRL
1976+ wrl
19731977wrp
19741978WRunoff
19751979WSLENV
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ CATCH_RETURN();
281281 // If .AsciiChar and .UnicodeChar have the same offset (since they're a union),
282282 // we can just write the latter with a byte-sized value to set the former
283283 // _and_ simultaneously clear the upper byte of .UnicodeChar to 0. Nice!
284- static_assert (offsetof (CHAR_INFO, Char.AsciiChar ) == offsetof (CHAR_INFO, Char.UnicodeChar ));
284+ static_assert (__builtin_offsetof (CHAR_INFO, Char.AsciiChar ) == __builtin_offsetof (CHAR_INFO, Char.UnicodeChar ));
285285
286286 // Any time we see the lead flag, we presume there will be a trailing one following it.
287287 // Giving us two bytes of space (one per cell in the ascii part of the character union)
Original file line number Diff line number Diff line change 1+ LLVM_LTO_EXPORTED_SYMBOLS = \
2+ _tlgDefineProvider_annotation__Tlgg_ConhostLauncherProviderProv \
3+ wWinMain \
Original file line number Diff line number Diff line change 1+ !include $(BASEDIR)\onecore\windows\core\console\console_clang_feature.inc
2+
13!include ..\sources.inc
24# -------------------------------------
35# Windows Console
@@ -20,6 +22,10 @@ UMTYPE = windows
2022UMENTRY = wwinmain
2123TARGET_DESTINATION = retail
2224
25+ !if "$(CLANG_LTO)" == "1"
26+ !include lto_symbols.inc
27+ !endif
28+
2329# -------------------------------------
2430# Build System Settings
2531# -------------------------------------
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ REFERENCES = $(CLR_REF_PATH)\System.metadata_dll; \
4848 $(CLR_REF_PATH)\System.Core.metadata_dll; \
4949 $(CLR_REF_PATH)\System.Data.metadata_dll; \
5050 $(CLR_REF_PATH)\System.Drawing.metadata_dll; \
51- $(ONECORESDKTOOLS_INTERNAL_REF_PATH_L)\wextest\cue \wex.common.managed.metadata_dll; \
52- $(ONECORESDKTOOLS_INTERNAL_REF_PATH_L)\wextest\cue \wex.logger.interop.metadata_dll; \
53- $(ONECORESDKTOOLS_INTERNAL_REF_PATH_L)\wextest\cue \te.managed.metadata_dll; \
51+ $(ONECORE_TAEF_REF_PATH)\net452 \wex.common.managed.metadata_dll; \
52+ $(ONECORE_TAEF_REF_PATH)\net452 \wex.logger.interop.metadata_dll; \
53+ $(ONECORE_TAEF_REF_PATH)\net452 \te.managed.metadata_dll; \
5454 $(ONECORESDKTOOLS_PRIVATE_REF_PATH_L)\WinAppDriver\appium-dotnet-driver.metadata_dll; \
5555 $(ONECORESDKTOOLS_PRIVATE_REF_PATH_L)\WinAppDriver\castle.core.metadata_dll; \
5656 $(ONECORESDKTOOLS_PRIVATE_REF_PATH_L)\WinAppDriver\newtonsoft.json.metadata_dll; \
Original file line number Diff line number Diff line change @@ -89,10 +89,12 @@ SOURCES = \
8989# Sources , Headers , and Libraries
9090# -------------------------------------
9191
92+ !if "$(USE_CLANG)" != "1"
9293PRECOMPILED_CXX = 1
9394PRECOMPILED_INCLUDE = .. \precomp . h
9495PRECOMPILED_PCH = precomp . pch
9596PRECOMPILED_OBJ = precomp . obj
97+ !endif
9698
9799INCLUDES = \
98100 $(INCLUDES ); \
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class WriteData : public IWaitRoutine
4040 _Out_ NTSTATUS* const pReplyStatus,
4141 _Out_ size_t * const pNumBytes,
4242 _Out_ DWORD* const pControlKeyState,
43- _Out_ void * const pOutputData);
43+ _Out_ void * const pOutputData) override ;
4444
4545private:
4646 SCREEN_INFORMATION& _siContext;
Original file line number Diff line number Diff line change 101101// The compiler doesn't like that. --> Suppress the warning.
102102#pragma warning(push)
103103#pragma warning(disable: 4324) // structure was padded due to alignment specifier
104+ // undefine BUILD_WINDOWS so that wrl/event.h doesn't include wrl/internalevent.h
105+ #undef BUILD_WINDOWS
104106#include < wrl.h>
105107#pragma warning(pop)
106108
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ namespace Microsoft::Console::Interactivity::Win32
4545 };
4646
4747 // IConsoleControl Members
48- [[nodiscard]] NTSTATUS NotifyConsoleApplication (_In_ DWORD dwProcessId);
49- [[nodiscard]] NTSTATUS SetForeground (_In_ HANDLE hProcess, _In_ BOOL fForeground );
50- [[nodiscard]] NTSTATUS EndTask (_In_ DWORD dwProcessId, _In_ DWORD dwEventType, _In_ ULONG ulCtrlFlags);
48+ [[nodiscard]] NTSTATUS NotifyConsoleApplication (_In_ DWORD dwProcessId) override ;
49+ [[nodiscard]] NTSTATUS SetForeground (_In_ HANDLE hProcess, _In_ BOOL fForeground ) override ;
50+ [[nodiscard]] NTSTATUS EndTask (_In_ DWORD dwProcessId, _In_ DWORD dwEventType, _In_ ULONG ulCtrlFlags) override ;
5151 [[nodiscard]] NTSTATUS SetWindowOwner (HWND hwnd, DWORD processId, DWORD threadId) noexcept override ;
5252
5353 // Public Members
You can’t perform that action at this time.
0 commit comments