History log of /openbmc/gpioplus/test/internal/fd.cpp (Results 1 – 3 of 3)
Revision Date Author Comments
# ab995c50 12-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

fd: avoid move-to-self

When compiling with C++23, GCC-13 raises the following compiler failure:
```
../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Wer

fd: avoid move-to-self

When compiling with C++23, GCC-13 raises the following compiler failure:
```
../test/internal/fd.cpp:182:8: error: moving ‘fd’ of type ‘gpioplus::internal::Fd’ to itself [-Werror=self-move]
```

Switch to an explicit `static_cast` to test the same functionality but
avoid the error.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I81e36b05d51fd8b11b1e99d62426dd516c3676ed

show more ...


# 7ba248ad 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I3a681a9dd632fc31b26bf2df50de0cf4b65f8ec0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 26954bd4 16-Aug-2018 William A. Kennington III <wak@google.com>

test/internal/fd: Implement