You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
In our application related to 3D geometry, we use near and far names. Recently, we started using libcu++ and more specifically <cuda/std/atomic>. However, this causes issues as there is an indirect inclusion of "windef.h", which #defines "near" and "far" to nothing.
There are some possible workarounds, including adding #undefs for "near" and "far" after every libcu++ include, or renaming all conflicting variables.
Still, it would be preferable if libcu++ would somehow avoid or prevent these extra macro definitions coming from "windows.h".
The text was updated successfully, but these errors were encountered:
In our application related to 3D geometry, we use
near
andfar
names. Recently, we started using libcu++ and more specifically<cuda/std/atomic>
. However, this causes issues as there is an indirect inclusion of "windef.h", which#define
s "near" and "far" to nothing.There are some possible workarounds, including adding
#undef
s for "near" and "far" after every libcu++ include, or renaming all conflicting variables.Still, it would be preferable if libcu++ would somehow avoid or prevent these extra macro definitions coming from "windows.h".
The text was updated successfully, but these errors were encountered: