Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix <nv/target> for MSVC #212

Merged
merged 1 commit into from
Oct 20, 2021
Merged

Fix <nv/target> for MSVC #212

merged 1 commit into from
Oct 20, 2021

Conversation

wmaxey
Copy link
Member

@wmaxey wmaxey commented Oct 20, 2021

Currently libcudacxx will always choose the pre-c++11 macro backend for <nv/target>. This patch fixes that by introducing checks for _MSVC_LANG an 'almost' always correct representation of the current C++ dialect.

@wmaxey wmaxey force-pushed the bugfix/msvc_nv_target_cpp11 branch from 53e4607 to 01aa61c Compare October 20, 2021 18:39
@wmaxey wmaxey merged commit 76480bf into main Oct 20, 2021
@wmaxey wmaxey deleted the bugfix/msvc_nv_target_cpp11 branch October 20, 2021 18:40
@wmaxey wmaxey added this to the 1.7.0 milestone Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants