Skip to content

Commit

Permalink
Update toolsets v143, windows sdk 10, C++17 standard; Update catch an…
Browse files Browse the repository at this point in the history
…d fmt library
  • Loading branch information
nieznanysprawiciel committed Oct 12, 2024
1 parent f680e96 commit 03d5c4f
Show file tree
Hide file tree
Showing 82 changed files with 27,728 additions and 15,074 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
with:
msbuild-architecture: x64

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down
2 changes: 1 addition & 1 deletion swCommonLib/Common/Buffers/BufferRaw.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "swCommonLib/Common/TypesDefinitions.h"
#include "swCommonLib/Common/RTTR.h"

#include <allocators>
#include <memory>



Expand Down
2 changes: 1 addition & 1 deletion swCommonLib/Common/Buffers/BufferTyped.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "BufferRaw.h"

#include <allocators>
#include <memory>
#include <assert.h>


Expand Down
6 changes: 6 additions & 0 deletions swCommonLib/Common/Converters/Convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ inline sw::Nullable< typename std::enable_if< std::is_enum< DstType >::value, Ds
// Wstring to string
//====================================================================================//

// std::codecvt_utf8 deprecated since C++17 without replacement.
#pragma warning( push )
#pragma warning( disable: 4996 )

// ================================ //
//
template<>
Expand All @@ -157,6 +161,8 @@ inline sw::Nullable< typename std::enable_if< std::is_same< SrcType, std::wstrin
return converter.from_bytes( value );
}

#pragma warning( pop )

//====================================================================================//
// Arithemetic types
//====================================================================================//
Expand Down
1 change: 1 addition & 0 deletions swCommonLib/Common/fmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// This is kind of joke!!
// Disable including windows.h.
#define FMT_USE_WINDOWS_H 0
#define FMT_UNICODE 0

#include "swCommonLib/External/fmt/format.h"

Loading

0 comments on commit 03d5c4f

Please sign in to comment.