It seems the GNU toolchain on Windows resets the GetLastError before some code in iceoryx was able to read it. This PR extends the win32call to always also return the GetLastError value.
Pre-Review Checklist for the PR Author
[x] Add sensible notes for the reviewer
[x] PR title is short, expressive and meaningful
[x] Relevant issues are linked in the References section
[x] Every source code file has a copyright header with SPDX-License-Identifier: Apache-2.0 OR MIT
[x] Branch follows the naming format (iox2-123-introduce-posix-ipc-example)
[x] Commits messages are according to this guideline
[x] Commit messages have the issue ID ([#123] Add posix ipc example)
Notes for Reviewer
It seems the GNU toolchain on Windows resets the
GetLastError
before some code in iceoryx was able to read it. This PR extends thewin32call
to always also return theGetLastError
value.Pre-Review Checklist for the PR Author
SPDX-License-Identifier: Apache-2.0 OR MIT
iox2-123-introduce-posix-ipc-example
)[#123] Add posix ipc example
)task-list-completed
)Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References
Closes #241