mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
build: Treat warnings as errors in the remaining projects (#8689)
* build: remove #pragma comment(lib * build: treat warnings as errors for all src projects
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
#include <Psapi.h>
|
||||
#include <string_view>
|
||||
|
||||
#pragma comment(lib, "Shlwapi.lib")
|
||||
|
||||
inline std::vector<wil::unique_process_handle> getProcessHandlesByName(const std::wstring_view processName, DWORD handleAccess)
|
||||
{
|
||||
std::vector<wil::unique_process_handle> result;
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#pragma comment(lib, "shlwapi.lib")
|
||||
|
||||
// Get the executable path or module name for modern apps
|
||||
inline std::wstring get_process_path(DWORD pid) noexcept
|
||||
{
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#include <array>
|
||||
#include <optional>
|
||||
|
||||
#pragma comment(lib, "dwmapi.lib")
|
||||
|
||||
// Initializes and runs windows message loop
|
||||
inline int run_message_loop(const bool until_idle = false, const std::optional<uint32_t> timeout_seconds = {})
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user