-
Notifications
You must be signed in to change notification settings - Fork 27
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
Interval() doesn't work with tile_evenly() #334
Comments
Some things I have tried to fix this: Added the following line to iota_view using value_type = typename std::iterator_traits<iterator>::value_type; Added the following function to counting_iterator __AGENCY_ANNOTATION
difference_type operator-(counting_iterator it) const
{
return (operator*()) - (*it);
} These have reduced the number of errors, but I haven't figured out the errors from trying to create a |
Looking more closely at the |
Thanks for the report and reproducer program. I can reproduce the problem on my system. I've run into this problem before. I think the root of the problem is issue #305. The basic problem is the way |
The master branch should compile your reproducer program now:
Please let me know if this solves the problem with your original program. |
That did get the minified example to compile, thanks! Unfortunately, I have a new minified example that fails. #include <agency/agency.hpp>
#include <agency/experimental.hpp>
int main()
{
return 0;
} Meta:
|
Thanks. I also see a problem with
Does this agree with what you observe? In the meantime, I'll try to get access to I have been using this
|
Interestingly, clang-3.7.1 compiles it without errors, so this might be an issue of the compiler being too old. Sorry for not including the error, here is the full text: It looks like the error messages from |
Thanks for posting the error message. Yes, this is a case where a bug present in an older version of gcc is causing a problem parsing the code. There may be a way to rewrite the code to workaround the issue. |
Meta:
When trying to create tiled intervals like in the following code, Agency gives errors for failed template substitutions:
The command to compile this was:
error.txt
The text was updated successfully, but these errors were encountered: