-
Notifications
You must be signed in to change notification settings - Fork 47
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
'win32call' needs to provide the last error #241
Labels
bug
Something isn't working
Comments
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
17 tasks
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
…nd 'GetLastError'
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
to elBoberido/iceoryx2
that referenced
this issue
Jun 18, 2024
elBoberido
added a commit
that referenced
this issue
Jun 19, 2024
…ingw [#241] Fix 'win32call' for GNU toolchain on Windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Required information
Operating system:
Windows
Rust version:
all version but with the GNU toolchain, e.g. stable-gnu
Cargo version:
N/A
iceoryx2 version:
main
Observed result or behaviour:
At a few places
win32call
is instructed to ignore the error and later onGetLastError
is called in order to check whether the ignored error occurred. It seems that with the MinGW toolchain the subsequent call tosystem_error_code_to_errno
resets the error andGetLastError
return 0, which makes the error handling futile.Expected result or behaviour:
Some way to access the last error.
Conditions where it occurred / Performed steps:
Run the
win32_udp_port_to_uds_name_set_and_get_works_with_multiple_instances
test onlatest-gnu
on Windows and see the test fail.The text was updated successfully, but these errors were encountered: