This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 757
Compilation fails when including complex.h #1244
Milestone
Comments
That's troubling. It does seem to compile if the headers are reversed as a work around:
|
|
Thanks for the explanation, @dkolsen-pgi, I'm surprised I've never encountered that before. We should fix this at some point. |
alliepiper
added a commit
to alliepiper/thrust
that referenced
this issue
Sep 3, 2020
Fix places where using `I` for an identifier was causing conflicts with complex.h. Fixes NVIDIA#1244.
This was referenced Sep 3, 2020
alliepiper
added a commit
to alliepiper/thrust
that referenced
this issue
Sep 3, 2020
Fix places where using `I` for an identifier was causing conflicts with complex.h. Fixes NVIDIA#1244.
alliepiper
added a commit
to brycelelbach/cub_historical_2019_2020
that referenced
this issue
Sep 9, 2020
alliepiper
added a commit
to alliepiper/thrust
that referenced
this issue
Sep 9, 2020
Fix places where using `I` for an identifier was causing conflicts with complex.h. Fixes NVIDIA#1244.
alliepiper
added a commit
that referenced
this issue
Sep 9, 2020
Fix places where using `I` for an identifier was causing conflicts with complex.h. Fixes #1244.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
With nvcc V11.0.194 (g++ -v outputs (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0), I tried to compile the code below:
a.cu
But I got these errors:
Is it a bug or intended behavior? Thanks.
The text was updated successfully, but these errors were encountered: