-
Notifications
You must be signed in to change notification settings - Fork 19
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 failure with C++17 standard #114
Comments
I have reproduced it at https://godbolt.org/z/c3e14ze9M. |
I think you are right, I searched a bit further and found a |
I thought a bit more about it and indeed it would be good to qualify |
I've fixed this on our end, so please feel free to close this ticket anytime if you want. There's no bug in VOMS. |
Closing, as there's no bug to actually be fixed in VOMS. Thank you! |
The
struct data
invoms/voms_api.h
clashes withstd::data
from C++17, and causes the compilation error below:This bug has been found after trying to compile XRootD with support for voms with C++17 standard. The build error can be seen here.
A potential fix is to use
std::vector<::data>
to disambiguate, but it's also probable thatstd
as the variable name will have to be changed as well to avoid further name clashes with the standard C++ namespacestd::
.The text was updated successfully, but these errors were encountered: