-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Compilation of 1.9.6 fails due to 'dwClientID' may be used uninitialized
#126
Comments
Interesting. |
|
The problem has also been reported on the mailing list http:https://lists.infradead.org/pipermail/pcsclite-muscle/2022-May/001265.html what is the version of your OS and version of gcc? |
Arch Linux with gcc 12.1.0... |
This error occurs with gcc 12.1.0 as well as 11.2.0 |
The gcc reports errors like these: pcscdaemon.c: In function 'main': winscard_msg_srv.c:259:25: error: 'dwClientID' may be used uninitialized in this function [-Werror=maybe-uninitialized] 259 | Log2(PCSC_LOG_ERROR, | ^ pcscdaemon.c:110:18: note: 'dwClientID' was declared here 110 | uint32_t dwClientID; /* Connection ID used to reference the Client */ | ^ Fixes LudovicRousseau#126
I am using gcc 11.3.0 from Debian testing and I do not have the warning/error.
What do you have on your side? |
|
I get the warning/error if I use:
I never used It is strange that I do NOT get the warning if I do not use Maybe enabling |
Should be fixed with 76c99cd Thanks |
Versions
Last good version: 1.9.5
First bad version: 1.9.6
Platform
Arch Linux
Issue
Compilation fails
Log
The text was updated successfully, but these errors were encountered: