-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ICC 19.1 cannot deduce template argument #2899
Comments
Could you provide a self-contained godbolt repro? (I wasn't able to repro in https://godbolt.org/z/cj9WaoaKb.) |
Closing as it looks like an ICC 19.1 bug but a PR with a workaround would be welcome. |
As it seems, i managed to reproduce this error by getting my hands on an icc compiler 19.1.3. And trying to compile fmt and its tests:
As you can see the ranges tests fail compiling. But sadly i can't find an online icc 19.1.3 so that you can also reproduce it. |
On ParaView we originally used to have the following issue https://gitlab.kitware.com/paraview/paraview/-/issues/21374 with ICC 19.1 which was fixed by #2746. Now, we have a new issue that again exists only on ICC 19.1. I have tried with gcc 9, 11, vs2019, xcode 13.1 and even icc 21, and i have no issues.
In my understanding the issue is that
std::vector<double>
can't be pushed as an argument to a dynamic_format_arg_store even whenfmt/ranges.h
is included.The files in which the issue occurs are https://gitlab.kitware.com/paraview/paraview/-/blob/master/VTKExtensions/Core/vtkPVStringFormatter.h,
https://gitlab.kitware.com/paraview/paraview/-/blob/master/VTKExtensions/Core/vtkPVStringFormatter.cxx
Any help would be more than welcome!
The text was updated successfully, but these errors were encountered: