Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ilammy/msvc-dev-cmd from 1.12.1 to 1.13.0 #348

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
path: .github/workflows
- name: ✨ Setup MSVC
uses: ilammy/msvc-dev-cmd@v1.12.1
uses: ilammy/msvc-dev-cmd@v1.13.0
with:
arch: ${{ matrix.architecture }}
- name: 🔧 Configure
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
with:
path: .github/workflows
- name: ✨ Setup MSVC
uses: ilammy/msvc-dev-cmd@v1.12.1
uses: ilammy/msvc-dev-cmd@v1.13.0
with:
arch: ${{ matrix.architecture }}
- name: 🔧 Configure
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand All @@ -20,6 +20,6 @@

Term::Argc::operator unsigned int() const { return static_cast<unsigned int>(Term::Arguments::argc()); }

std::string Term::Arguments::operator[](const std::size_t& arg) const { return m_args[arg]; }

Check warning on line 23 in cpp-terminal/args.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.cpp:23:6 [misc-include-cleaner]

no header providing "std::string" is directly included

Check warning on line 23 in cpp-terminal/args.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.cpp:23:52 [misc-include-cleaner]

no header providing "std::size_t" is directly included

Check warning on line 23 in cpp-terminal/args.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.cpp:23:6 [misc-include-cleaner]

no header providing "std::string" is directly included

Check warning on line 23 in cpp-terminal/args.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.cpp:23:52 [misc-include-cleaner]

no header providing "std::size_t" is directly included

} // namespace Term
2 changes: 1 addition & 1 deletion cpp-terminal/args.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*

Check warning on line 1 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:1:1 [llvm-header-guard]

header is missing header guard

Check warning on line 1 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:1:1 [llvm-header-guard]

header is missing header guard
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand All @@ -19,9 +19,9 @@
{
public:
Arguments();
static std::size_t argc();

Check warning on line 22 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:22:15 [misc-include-cleaner]

no header providing "std::size_t" is directly included

Check warning on line 22 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:22:15 [misc-include-cleaner]

no header providing "std::size_t" is directly included
static std::vector<std::string> argv();
std::string operator[](const std::size_t& arg) const;

Check warning on line 24 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:24:57 [misc-include-cleaner]

no header providing "std::size_t" is directly included

Check warning on line 24 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:24:57 [misc-include-cleaner]

no header providing "std::size_t" is directly included

private:
static void parse();
Expand All @@ -37,7 +37,7 @@
operator unsigned int() const;
};

static const Arguments argv;

Check warning on line 40 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:40:1 [fuchsia-statically-constructed-objects]

static objects are disallowed; if possible, use a constexpr constructor instead

Check warning on line 40 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:40:24 [cert-err58-cpp]

initialization of 'argv' with static storage duration may throw an exception that cannot be caught

Check warning on line 40 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:40:1 [fuchsia-statically-constructed-objects]

static objects are disallowed; if possible, use a constexpr constructor instead

Check warning on line 40 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:40:24 [cert-err58-cpp]

initialization of 'argv' with static storage duration may throw an exception that cannot be caught
static const Argc argc;

Check warning on line 41 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:41:1 [fuchsia-statically-constructed-objects]

static objects are disallowed; if possible, use a constexpr constructor instead

Check warning on line 41 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:41:24 [cert-err58-cpp]

initialization of 'argc' with static storage duration may throw an exception that cannot be caught

Check warning on line 41 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:41:1 [fuchsia-statically-constructed-objects]

static objects are disallowed; if possible, use a constexpr constructor instead

Check warning on line 41 in cpp-terminal/args.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/args.hpp:41:24 [cert-err58-cpp]

initialization of 'argc' with static storage duration may throw an exception that cannot be caught

} // namespace Term
2 changes: 1 addition & 1 deletion cpp-terminal/buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand All @@ -15,7 +15,7 @@

#include <cstddef>

static std::string replace(const Term::Buffer::int_type& c)

Check warning on line 18 in cpp-terminal/buffer.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/buffer.cpp:18:13 [misc-include-cleaner]

no header providing "std::string" is directly included

Check warning on line 18 in cpp-terminal/buffer.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

cpp-terminal/buffer.cpp:18:13 [misc-include-cleaner]

no header providing "std::string" is directly included
{
#if defined(_WIN32)
std::string ret;
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/cursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/focus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/focus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/iostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/iostream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/iostream_initializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/iostream_initializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/key.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/mouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/mouse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/args.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/blocking_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/blocking_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand All @@ -24,9 +24,9 @@

std::uint8_t utf8_decode_step(std::uint8_t state, std::uint8_t octet, std::uint32_t* cpp)
{
static const constexpr std::array<std::uint32_t, 0x10> utf8ClassTab{0x88888888UL, 0x88888888UL, 0x99999999UL, 0x99999999UL, 0xaaaaaaaaUL, 0xaaaaaaaaUL, 0xaaaaaaaaUL, 0xaaaaaaaaUL, 0x222222ffUL, 0x22222222UL, 0x22222222UL, 0x22222222UL, 0x3333333bUL, 0x33433333UL, 0xfff5666cUL, 0xffffffffUL};

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'_Elems': the initialization of a subobject should be wrapped in braces [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.5 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.5 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 27 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

static const constexpr std::array<std::uint32_t, 0x10> utf8StateTab{0xfffffff0UL, 0xffffffffUL, 0xfffffff1UL, 0xfffffff3UL, 0xfffffff4UL, 0xfffffff7UL, 0xfffffff6UL, 0xffffffffUL, 0x33f11f0fUL, 0xf3311f0fUL, 0xf33f110fUL, 0xfffffff2UL, 0xfffffff5UL, 0xffffffffUL, 0xffffffffUL, 0xffffffffUL};

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'_Elems': the initialization of a subobject should be wrapped in braces [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.5 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.5 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.6 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.7 (c++17)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++11)

suggest braces around initialization of subobject [-Wmissing-braces]

Check warning on line 29 in cpp-terminal/private/conversion.cpp

View workflow job for this annotation

GitHub Actions / clang3.8 (c++14)

suggest braces around initialization of subobject [-Wmissing-braces]

const std::uint8_t reject{static_cast<std::uint8_t>(state >> 3UL)};
const std::uint8_t nonAscii{static_cast<std::uint8_t>(octet >> 7UL)};
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/conversion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/cursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/env.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/env.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down Expand Up @@ -152,7 +152,7 @@
setContext(context);
#if defined(_WIN32)
std::wstring message(m_maxSize, L'\0');
message = _wcserror_s(&message[0], message.size(), static_cast<int>(error));

Check warning on line 155 in cpp-terminal/private/exception.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'argument': conversion from 'errno_t' to 'const _Elem with [_Elem=wchar_t]', possible loss of data [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 155 in cpp-terminal/private/exception.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'argument': conversion from 'errno_t' to 'const _Elem with [_Elem=wchar_t]', signed/unsigned mismatch [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]
setMessage(Term::Private::to_narrow(message.c_str()));
#else
std::string message(m_maxSize, '\0');
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/exception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/file_initializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down Expand Up @@ -84,7 +84,7 @@
catch(...)
{
ExceptionHandler(ExceptionDestination::StdErr);
}

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++11)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++17)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 x64 (c++11)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++14)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 x64 (c++14)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 87 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++20)

'Term::Private::FileInitializer::FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(87,1): note: __declspec(nothrow), throw(), noexcept(true), or noexcept was specified on the function [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Term::Private::FileInitializer::~FileInitializer() noexcept
try
Expand All @@ -100,7 +100,7 @@
catch(...)
{
ExceptionHandler(ExceptionDestination::StdErr);
}

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2022 win32 (c++11)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++11)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++17)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 x64 (c++11)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++14)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 x64 (c++14)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

Check warning on line 103 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / msvc2019 win32 (c++20)

'Term::Private::FileInitializer::~FileInitializer': function assumed not to throw an exception but doesD:\a\cpp-terminal\cpp-terminal\cpp-terminal\private\file_initializer.cpp(103,1): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification [D:\a\cpp-terminal\cpp-terminal\build\cpp-terminal\private\cpp-terminal-private.vcxproj]

void Term::Private::FileInitializer::openStandardStreams() noexcept
try
Expand All @@ -115,7 +115,7 @@
if(::fileno(stderr) < 0) { Term::Private::Errno().check_if(nullptr == std::freopen("/dev/tty", "w", stderr)).throw_exception(R"(std::freopen("/dev/tty", "w", stderr))"); } //NOLINT(cppcoreguidelines-owning-memory)
if(::fileno(stdout) < 0) { Term::Private::Errno().check_if(nullptr == std::freopen("/dev/tty", "w", stdout)).throw_exception(R"(std::freopen("/dev/tty", "w", stdout))"); } //NOLINT(cppcoreguidelines-owning-memory)
if(::fileno(stdin) < 0) { Term::Private::Errno().check_if(nullptr == std::freopen("/dev/tty", "r", stdin)).throw_exception(R"(std::freopen("/dev/tty", "r", stdin))"); } //NOLINT(cppcoreguidelines-owning-memory)
struct stat stats = {};

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.7 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++14)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.8 (c++14)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_dev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_ino' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_nlink' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_mode' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_uid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_gid' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::__pad0' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_rdev' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_size' [-Wmissing-field-initializers]

Check warning on line 118 in cpp-terminal/private/file_initializer.cpp

View workflow job for this annotation

GitHub Actions / gcc4.9 (c++11)

missing initializer for member 'stat::st_blksize' [-Wmissing-field-initializers]
::stat("/dev/tty", &stats);
const std::size_t bestSize{static_cast<std::size_t>(stats.st_blksize) > 0 ? static_cast<std::size_t>(stats.st_blksize) : BUFSIZ}; //NOSONAR(S1774)
#endif
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/file_initializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp-terminal/private/return_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* cpp-terminal
* C++ library for writing multi-platform terminal applications.
*
* SPDX-FileCopyrightText: 2019-2023 cpp-terminal
* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
*
* SPDX-License-Identifier: MIT
*/
Expand Down
Loading
Loading